Create a symlink back to the source dir in the scratchdir of a test.
authorWayne Davison <wayned@samba.org>
Mon, 21 May 2007 01:05:36 +0000 (01:05 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 21 May 2007 01:05:36 +0000 (01:05 +0000)
runtests.sh

index 6267577..286f0c5 100755 (executable)
@@ -226,6 +226,7 @@ prep_scratch() {
     # Get rid of default ACLs and dir-setgid to avoid confusing some tests.
     $setfacl_nodef "$scratchdir" || true
     chmod g-s "$scratchdir"
     # Get rid of default ACLs and dir-setgid to avoid confusing some tests.
     $setfacl_nodef "$scratchdir" || true
     chmod g-s "$scratchdir"
+    ln -s "$srcdir" "$scratchdir/src"
     return 0
 }
 
     return 0
 }