summaryrefslogtreecommitdiff
path: root/runtests.sh
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-05-21 01:05:36 +0000
committerWayne Davison <wayned@samba.org>2007-05-21 01:05:36 +0000
commitc395acd8046a0dc8be3df095ce7c1e9fbf48864b (patch)
treed9e07818e5643d89cd2964dd0e168add43612580 /runtests.sh
parent030820d5dcb4799a8688187d9f5aa15525ae4be8 (diff)
downloadrsync-c395acd8046a0dc8be3df095ce7c1e9fbf48864b.tar.gz
Create a symlink back to the source dir in the scratchdir of a test.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh
index 62675770..286f0c5d 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -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"
+ ln -s "$srcdir" "$scratchdir/src"
return 0
}