]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephtool/test.sh cleanup
authorDan Mick <dan.mick@inktank.com>
Wed, 10 Jul 2013 21:14:01 +0000 (14:14 -0700)
committerDan Mick <dan.mick@inktank.com>
Thu, 11 Jul 2013 03:58:51 +0000 (20:58 -0700)
1) don't pass subshell to expect_false
2) osd pause/unpause don't take arguments (apply to all OSDs)

Signed-off-by: Dan Mick <dan.mick@inktank.com>
qa/workunits/cephtool/test.sh

index 90fc271d8ee48b6abb330a6498cc59668d7fa87b..7f479912d8d2eb31c27f9f094003fec2d3a93581 100755 (executable)
@@ -39,7 +39,7 @@ ceph auth get-key client.xx
 ceph auth print-key client.xx
 ceph auth print_key client.xx
 ceph auth caps client.xx osd "allow rw"
-expect_false "(ceph auth get client.xx | grep caps | grep mon)"
+expect_false "ceph auth get client.xx | grep caps | grep mon"
 ceph auth get client.xx | grep osd | grep "allow rw"
 ceph auth export | grep client.xx
 ceph auth export -o authfile
@@ -174,9 +174,9 @@ ceph osd ls
 ceph osd lspools | grep data
 ceph osd map data foo | grep 'pool.*data.*object.*foo.*pg.*up.*acting'
 
-ceph osd pause 0
+ceph osd pause
 ceph osd dump | grep 'flags pauserd,pausewr'
-ceph osd unpause 0
+ceph osd unpause
 
 ceph osd tree