qa: snaptest-capwb check no snapflush case first

This commit is contained in:
Sage Weil 2010-08-17 14:23:19 -07:00
parent d2205a9423
commit 9dd2ffd710

View File

@ -3,6 +3,16 @@
set -e
mkdir foo
# make sure mds handles it when the client does not send flushsnap
echo x > foo/x
sync
mkdir foo/.snap/ss
ln foo/x foo/xx
cat foo/.snap/ss/x
rmdir foo/.snap/ss
#
echo a > foo/a
echo b > foo/b
mkdir foo/.snap/s
@ -18,12 +28,4 @@ echo "oh, it didn't hang! good job."
cat foo/b
rmdir foo/.snap/s
# make sure mds handles it when the client does not send flushsnap
echo x > foo/x
sync
mkdir foo/.snap/ss
ln foo/x foo/xx
cat foo/.snap/ss/x
rmdir foo/.snap/ss
rm -r foo