diff options
author | Sage Weil <sage@inktank.com> | 2013-08-04 15:24:49 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-04 15:24:59 -0700 |
commit | e5d9ac64df6569c801f644c222547b7ee623e15f (patch) | |
tree | 89948cf760ee3192927a7f4559b1f62387209371 | |
parent | 9e7d6d547e0e8a6db6ba611882afa9bf74ea0195 (diff) | |
download | ceph-e5d9ac64df6569c801f644c222547b7ee623e15f.tar.gz |
qa/workunits/cephtool/test_daemon.sh: we should error on bad command
See #5872.
Signed-off-by: Sage Weil <sage@inktank.com>
-rwxr-xr-x | qa/workunits/cephtool/test_daemon.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/workunits/cephtool/test_daemon.sh b/qa/workunits/cephtool/test_daemon.sh index 8d2bd27f700..f598708d019 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 |