]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: clean up snaptest-* suite a bit
authorSage Weil <sage@newdream.net>
Tue, 24 Aug 2010 23:01:47 +0000 (16:01 -0700)
committerSage Weil <sage@newdream.net>
Tue, 24 Aug 2010 23:01:47 +0000 (16:01 -0700)
qa/workunits/snaptest-0.sh
qa/workunits/snaptest-1.sh
qa/workunits/snaptest-2.sh
qa/workunits/snaptest-authwb.sh
qa/workunits/snaptest-capwb.sh
qa/workunits/snaptest-xattrwb.sh

index a074a3ef479e55b6255fdcd003a929dc2f1c392b..93e747af7dd072d29ba42b517721467262db4824 100755 (executable)
@@ -12,3 +12,6 @@ mkdir .snap/bar
 rm bar
 grep asdf .snap/bar/bar
 rmdir .snap/bar
+rm foo
+
+echo OK
\ No newline at end of file
index 9bf6e3205cd323c9d783f0ee1fd854a015a08943..59d41ef688f4b86f2f5b860e79b5a6329ae49b1e 100755 (executable)
@@ -23,3 +23,7 @@ echo 3 > file3
 mkdir .snap/snap1
 echo 4 > file4
 rmdir .snap/snap1
+
+rm file?
+
+echo OK
\ No newline at end of file
index 23234d4b1df348fa4cdbdfda7f318eacd5c06cb0..4b67999921c998bbc8b6c99a04162c15bd6b9709 100755 (executable)
@@ -55,3 +55,5 @@ find ./ -type d -print | \
 
 echo "Delete all the files and directories ..."
 rm -Rfv ./*
+
+echo OK
index a753d5c044ea82b06209a0cd9234fe686a7d5241..128efb70d19ce6a03cf6acdc61c5d8d10ae1653b 100755 (executable)
@@ -8,3 +8,5 @@ mkdir .snap/s
 find .snap/s/foo -executable | grep foo
 rmdir .snap/s
 rm foo
+
+echo OK
\ No newline at end of file
index ec1650d2f5c08eb894aa0e3b9c4746557ccd5e5e..8c5a1333b69131c66951a8c38095712b8d5898ea 100755 (executable)
@@ -29,3 +29,5 @@ cat foo/b
 rmdir foo/.snap/s
 
 rm -r foo
+
+echo OK
\ No newline at end of file
index 52973cc31fc1ffab46a81a49b047c357c4c4ec7b..b2dd7bc748af263fc14b44b14dffe3d59c2a42ec 100755 (executable)
@@ -26,3 +26,4 @@ getfattr -n user.foo a/.snap/s/b | grep user.foo  # should be there, too!
 rmdir a/.snap/s
 rm -r a
 
+echo OK
\ No newline at end of file