From: Sage Weil Date: Tue, 24 Aug 2010 23:01:47 +0000 (-0700) Subject: qa: clean up snaptest-* suite a bit X-Git-Tag: v0.22~223 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1c176ee0090662328f645ea3cd0d1a363ea875a5;p=ceph.git qa: clean up snaptest-* suite a bit --- diff --git a/qa/workunits/snaptest-0.sh b/qa/workunits/snaptest-0.sh index a074a3ef479e..93e747af7dd0 100755 --- a/qa/workunits/snaptest-0.sh +++ b/qa/workunits/snaptest-0.sh @@ -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 diff --git a/qa/workunits/snaptest-1.sh b/qa/workunits/snaptest-1.sh index 9bf6e3205cd3..59d41ef688f4 100755 --- a/qa/workunits/snaptest-1.sh +++ b/qa/workunits/snaptest-1.sh @@ -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 diff --git a/qa/workunits/snaptest-2.sh b/qa/workunits/snaptest-2.sh index 23234d4b1df3..4b67999921c9 100755 --- a/qa/workunits/snaptest-2.sh +++ b/qa/workunits/snaptest-2.sh @@ -55,3 +55,5 @@ find ./ -type d -print | \ echo "Delete all the files and directories ..." rm -Rfv ./* + +echo OK diff --git a/qa/workunits/snaptest-authwb.sh b/qa/workunits/snaptest-authwb.sh index a753d5c044ea..128efb70d19c 100755 --- a/qa/workunits/snaptest-authwb.sh +++ b/qa/workunits/snaptest-authwb.sh @@ -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 diff --git a/qa/workunits/snaptest-capwb.sh b/qa/workunits/snaptest-capwb.sh index ec1650d2f5c0..8c5a1333b691 100755 --- a/qa/workunits/snaptest-capwb.sh +++ b/qa/workunits/snaptest-capwb.sh @@ -29,3 +29,5 @@ cat foo/b rmdir foo/.snap/s rm -r foo + +echo OK \ No newline at end of file diff --git a/qa/workunits/snaptest-xattrwb.sh b/qa/workunits/snaptest-xattrwb.sh index 52973cc31fc1..b2dd7bc748af 100755 --- a/qa/workunits/snaptest-xattrwb.sh +++ b/qa/workunits/snaptest-xattrwb.sh @@ -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