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 "-------------"
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
}
exit 78
}
+# Test whether something is a link, allowing for shell peculiarities
+is_a_link() {
+ test -L "$1" || test -h "$1" || /usr/bin/test -L "$1" || /usr/bin/test -h "$1"
+}
+
# be reproducible
umask 077
\ No newline at end of file