From: Yan, Zheng Date: Thu, 15 Jan 2015 07:42:49 +0000 (+0800) Subject: qa/workunits/snaps: remove snapshots when test finishes X-Git-Tag: v0.93~87^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8624172d1acd486e4ed356dff180e582f1f0e975;p=ceph.git qa/workunits/snaps: remove snapshots when test finishes Signed-off-by: Yan, Zheng --- diff --git a/qa/workunits/snaps/snaptest-parents.sh b/qa/workunits/snaps/snaptest-parents.sh index 1310b45fe375..6b76fdb2a971 100644 --- a/qa/workunits/snaps/snaptest-parents.sh +++ b/qa/workunits/snaps/snaptest-parents.sh @@ -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"