2009-12-02 00:18:23 +00:00
|
|
|
#!/bin/bash -x
|
|
|
|
|
|
|
|
for f in `seq 1 8`
|
|
|
|
do
|
|
|
|
echo testing failure point $f
|
2010-06-17 20:09:22 +00:00
|
|
|
pushd . ; cd $bindir ; ./ceph -c $conf mds injectargs 0 "--mds_kill_mdstable_at $f" ; popd
|
2009-12-02 00:18:23 +00:00
|
|
|
sleep 1 # wait for mds command to go thru
|
2010-06-17 20:09:22 +00:00
|
|
|
bash -c "pushd . ; cd $bindir ; sleep 10 ; ./init-ceph -c $conf start mds ; popd" &
|
2009-12-02 00:18:23 +00:00
|
|
|
touch $f
|
|
|
|
ln $f $f.link
|
2010-06-17 20:44:12 +00:00
|
|
|
sleep 10
|
2009-12-02 00:18:23 +00:00
|
|
|
done
|
|
|
|
|