From: Sage Weil Date: Sun, 4 Aug 2013 22:24:49 +0000 (-0700) Subject: qa/workunits/cephtool/test_daemon.sh: we should error on bad command X-Git-Tag: v0.67~31 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e5d9ac64df6569c801f644c222547b7ee623e15f;p=ceph.git qa/workunits/cephtool/test_daemon.sh: we should error on bad command See #5872. Signed-off-by: Sage Weil --- diff --git a/qa/workunits/cephtool/test_daemon.sh b/qa/workunits/cephtool/test_daemon.sh index 8d2bd27f7004..f598708d019a 100755 --- a/qa/workunits/cephtool/test_daemon.sh +++ b/qa/workunits/cephtool/test_daemon.sh @@ -24,4 +24,7 @@ new_ms=$(sudo ceph daemon mon.a config get debug_ms | grep debug_ms | \ sed -e 's/.*: //' -e 's/["\}\\]//g') [ "$new_ms" = "$old_ms" ] +# unregistered/non-existent command +expect_false sudo ceph daemon mon.a bogus_command_blah foo + echo OK