Use rsync source rather than /etc for files because things in /etc
authorMartin Pool <mbp@samba.org>
Wed, 29 Aug 2001 09:38:28 +0000 (09:38 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 29 Aug 2001 09:38:28 +0000 (09:38 +0000)
might be protected or missing on some systems.

testsuite/rsync.fns

index 85e1fbe..b3df524 100644 (file)
@@ -34,7 +34,7 @@ hands_setup() {
     # This might fail on systems that don't have -n
     echo $ECHO_N "This file has no trailing lf$ECHO_C" > ${FROM}/nolf
     ln -s nolf ${FROM}/nolf-symlink
-    cat /etc/inittab /etc/services /etc/resolv.conf > ${FROM}/${F1}
+    cat $srcdir/*.c | head -2000 > ${FROM}/${F1}
     mkdir ${FROM}/dir
     cp ${FROM}/${F1} ${FROM}/dir
     mkdir ${FROM}/dir/subdir