From 7d9d7651beab8a104c1f41b9ced0ed558ad079f1 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Fri, 18 Jan 2013 18:28:44 -0800 Subject: [PATCH] workunit/cephtool: Use '! cmd' when expecting failure Signed-off-by: Dan Mick --- qa/workunits/cephtool/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 22ca2008651a2..1c9b48a5d9f28 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 -- 2.39.5