]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: fix mdstable script for proper injectargs use.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 4 Jan 2012 23:36:08 +0000 (15:36 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 5 Jan 2012 01:11:36 +0000 (17:11 -0800)
This script is fairly primitive, but somebody might find it useful...

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
qa/mds/test_mdstable_failures.sh

index dac0bd94628a5dbe2256fba6a4b1e94c39717054..b5f80791572045fdcb11bcab13093891b37000f0 100755 (executable)
@@ -3,7 +3,7 @@
 for f in `seq 1 8`
 do
     echo testing failure point $f
-    pushd . ; cd $bindir ; ./ceph -c $conf mds injectargs 0 "--mds_kill_mdstable_at $f" ; popd
+    pushd . ; cd $bindir ; ./ceph -c $conf mds tell \* injectargs "--mds_kill_mdstable_at $f" ; popd
     sleep 1  # wait for mds command to go thru
     bash -c "pushd . ; cd $bindir ; sleep 10 ; ./init-ceph -c $conf start mds ; popd" &
     touch $f