Clarify behaviour of installcheck.
[rsync/rsync.git] / testsuite / rsync.fns
index 1e9e819..41f3354 100644 (file)
@@ -152,7 +152,7 @@ checkit() {
     echo ""
     for f in `cd "$2"; find . -type f -print `
     do 
-        diff -u "$2"/"$f" "$3"/"$f" || failed=YES
+        diff -c "$2"/"$f" "$3"/"$f" || failed=YES
     done
 
     echo "-------------"
@@ -201,10 +201,12 @@ use chroot = no
 hosts allow = localhost, 127.0.0.1
 log file = $logfile
 
-[test-from] = $scratchdir/daemon-from/
+[test-from]
+       path = $FROM
        read only = yes
 
-[test-to] = $scratchdir/daemon-to/
+[test-to]
+       path = $TO
        read only = no
 EOF
 }