summaryrefslogtreecommitdiff
path: root/testsuite/itemize.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-05-17 15:07:24 -0700
committerWayne Davison <wayned@samba.org>2008-05-17 15:07:24 -0700
commite717fa4d37bf6cad4b3117998c220478f64b2eb2 (patch)
treec2ad54ff5f4b5a4c0068c2553f83eab296f4b23c /testsuite/itemize.test
parentcc56eb2acca94ac29149d4a838fe43db6edc3867 (diff)
downloadrsync-e717fa4d37bf6cad4b3117998c220478f64b2eb2.tar.gz
Fix some path problems when the build dir is not the
source dir.
Diffstat (limited to 'testsuite/itemize.test')
-rw-r--r--testsuite/itemize.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/itemize.test b/testsuite/itemize.test
index 72780345..bdb08c2f 100644
--- a/testsuite/itemize.test
+++ b/testsuite/itemize.test
@@ -28,8 +28,7 @@ ln "$fromdir/foo/config1" "$fromdir/foo/extra"
rm -f "$to2dir"
# Check if rsync is set to hard-link symlinks.
-confile=`echo "$scratchdir" | sed 's;/testtmp/itemize$;/config.h;'`
-if egrep '^#define CAN_HARDLINK_SYMLINK 1' "$confile" >/dev/null; then
+if egrep '^#define CAN_HARDLINK_SYMLINK 1' config.h >/dev/null; then
L=hL
else
L=cL