]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
subman: use replace instead of format 10625/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 9 Aug 2016 07:13:17 +0000 (09:13 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 9 Aug 2016 10:25:40 +0000 (12:25 +0200)
commit5ae0e43e7f75a3a6d96d9fc5f03c4b0a86c7481b
tree3517e47a752282c83d67760897c9a9c0c721086b
parent0ca27727173501856e9f17785b9f555684661709
subman: use replace instead of format

Otherwise all {} are assumed to be substituted. Add a test.

Fixes: http://tracker.ceph.com/issues/16961
Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit b006c136761746e12704e349a672325b8b6e51f5)
src/script/subman
src/test/CMakeLists.txt
src/test/Makefile.am
src/test/test_subman.sh [new file with mode: 0755]