qa/workunits/snaps: remove snapshots when test finishes

Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Yan, Zheng 2015-01-15 15:42:49 +08:00
parent b66e74961b
commit 8624172d1a

View 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"
rmdir 1/.snap/*
rmdir 2/.snap/*
echo "OK"