From 4d174b593abc9e427d79c56f385aff3d2f70dd77 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 31 Mar 2010 14:46:20 -0700 Subject: [PATCH] qa: make snaptest.sh repeatable in same dir --- qa/workunits/snaptest1.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/workunits/snaptest1.sh b/qa/workunits/snaptest1.sh index cdb6c2852c6..9443974243b 100755 --- a/qa/workunits/snaptest1.sh +++ b/qa/workunits/snaptest1.sh @@ -3,6 +3,7 @@ echo 1 > file1 echo 2 > file2 echo 3 > file3 +[ -e file4 ] && rm file4 mkdir .snap/snap1 echo 4 > file4 now=`ls`