Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e717fa4
)
Fixed the "src" symlink in each testtmp subdir.
author
Wayne Davison
<wayned@samba.org>
Sun, 18 May 2008 14:00:48 +0000
(07:00 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sun, 18 May 2008 14:00:48 +0000
(07:00 -0700)
runtests.sh
patch
|
blob
|
blame
|
history
diff --git
a/runtests.sh
b/runtests.sh
index
2eb4182
..
41d566b
100755
(executable)
--- a/
runtests.sh
+++ b/
runtests.sh
@@
-238,7
+238,10
@@
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"
+ case "$srcdir" in
+ /*) ln -s "$srcdir" "$scratchdir/src" ;;
+ *) ln -s "$TOOLDIR/$srcdir" "$scratchdir/src" ;;
+ esac
return 0
}
return 0
}