]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: simplify snapshot directory creation in test_shadow_copy_torture.sh
authorRalph Boehme <slow@samba.org>
Tue, 6 Jul 2021 05:22:40 +0000 (07:22 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 14 Jul 2021 08:09:31 +0000 (08:09 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14756

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/script/tests/test_shadow_copy_torture.sh

index 9cd0900d0b7e26788c0ffb1699e2559b83128184..68cd97e636406e96347101cefdbb15025ef960d9 100755 (executable)
@@ -45,8 +45,7 @@ build_snapshots()
 
     snapdir=$WORKDIR/.snapshots
 
-    mkdir -p $snapdir
-    mkdir $snapdir/$SNAPSHOT
+    mkdir -p $snapdir/$SNAPSHOT
 
     build_files $snapdir/$SNAPSHOT
 }