Use rsync source rather than /etc for files because things in /etc
[rsync/rsync.git] / testsuite / rsync.fns
index 3cbb768..b3df524 100644 (file)
@@ -27,12 +27,14 @@ hands_setup() {
     # set up test data
     touch ${FROM}/empty
     mkdir ${FROM}/emptydir
-    ps ax > ${FROM}/pslist
+
+    # a few hundred lines of test
+    ls -lR / | head -200 > ${FROM}/filelist
 
     # 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