diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-01-18 18:28:44 -0800 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-01-18 18:32:13 -0800 |
commit | 7d9d7651beab8a104c1f41b9ced0ed558ad079f1 (patch) | |
tree | a8558c81730689c073c9232e051818fc135607af | |
parent | 37dbf7d9df93dd0e92019be31eaa1a19dd9569c7 (diff) | |
download | ceph-7d9d7651beab8a104c1f41b9ced0ed558ad079f1.tar.gz |
workunit/cephtool: Use '! cmd' when expecting failure
Signed-off-by: Dan Mick <dan.mick@inktank.com>
-rwxr-xr-x | qa/workunits/cephtool/test.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 22ca2008651..1c9b48a5d9f 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -13,8 +13,9 @@ ceph mon dump ceph mds dump ceph tell osd.0 version -ceph tell osd.9999 version && exit 1 -ceph tell osd.foo version && exit 1 +! ceph tell osd.9999 version +! ceph tell osd.foo version + for id in `ceph osd ls` ; do ceph tell osd.$id version |