From: Martin Pool Date: Wed, 29 Aug 2001 09:27:43 +0000 (+0000) Subject: BSD doesn't have /etc/resolv.conf or /etc/inittab, and hands.test was X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/6a46226b3a4ee1c7ab1a4929c8dddeb70c6c5473 BSD doesn't have /etc/resolv.conf or /etc/inittab, and hands.test was trying to use them as a source of noise. --- diff --git a/test.sh b/test.sh index e9c953aa..f74471c3 100755 --- a/test.sh +++ b/test.sh @@ -54,9 +54,13 @@ mkdir ${FROM}/emptydir ps ax > ${FROM}/pslist echo -n "This file has no trailing lf" > ${FROM}/nolf ln -s nolf ${FROM}/nolf-symlink -cat /etc/inittab /etc/services /etc/resolv.conf > ${FROM}/${F1} + +# Gather some random text. We need files that will exist and be +# publicly readable on all platforms: hopefully this will work. +cat /etc/*tab /etc/services /etc/*.conf /etc/*rc > ${FROM}/${F1} + mkdir ${FROM}/dir -cp ${FROM}/${F1} ${FROM}/dir +cp ${FROM}/${F1} ${FROM}/dir/ mkdir ${FROM}/dir/subdir mkdir ${FROM}/dir/subdir/subsubdir ls -ltr /etc > ${FROM}/dir/subdir/subsubdir/etc-ltr-list