]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/snaps: remove snapshots when test finishes
authorYan, Zheng <zyan@redhat.com>
Thu, 15 Jan 2015 07:42:49 +0000 (15:42 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 5 Feb 2015 14:40:39 +0000 (22:40 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
qa/workunits/snaps/snaptest-parents.sh

index 1310b45fe37557e716b46be266f9da3464ec14fc..6b76fdb2a971a34724334ca1f91e08d28fa9a39d 100644 (file)
@@ -36,4 +36,6 @@ dir1=`find 1/ | wc -w`
 dir2=`find 2/.snap/barsnap2/a/b/c | wc -w`
 #diff $dir1 $dir2 && echo "Success!"
 test $dir1==$dir2 && echo "Sucess!"
-echo "OK"
\ No newline at end of file
+rmdir 1/.snap/*
+rmdir 2/.snap/*
+echo "OK"