systems that don't use "echo -n".
AC_SUBST(CC_SHOBJ_FLAG)
AC_SUBST(BUILD_POPT)
AC_SUBST(CC_SHOBJ_FLAG)
AC_SUBST(BUILD_POPT)
-AC_OUTPUT(Makefile lib/dummy zlib/dummy)
+AC_OUTPUT(Makefile lib/dummy zlib/dummy testsuite/config.sh)
RSYNC="$rsync_bin"
runtest() {
RSYNC="$rsync_bin"
runtest() {
+ echo $ECHO_N "Test $1: $ECHO_C"
touch ${FROM}/empty
mkdir ${FROM}/emptydir
ps ax > ${FROM}/pslist
touch ${FROM}/empty
mkdir ${FROM}/emptydir
ps ax > ${FROM}/pslist
-echo -n "This file has no trailing lf" > ${FROM}/nolf
+
+# 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}
mkdir ${FROM}/dir
ln -s nolf ${FROM}/nolf-symlink
cat /etc/inittab /etc/services /etc/resolv.conf > ${FROM}/${F1}
mkdir ${FROM}/dir
( cd $3 ; ls -laR ) > ${TMP}/ls-to 2>>${log}
diff -u ${TMP}/ls-from ${TMP}/ls-to >>${log} 2>&1 || failed=YES
if [ -z "${failed}" ] ; then
( cd $3 ; ls -laR ) > ${TMP}/ls-to 2>>${log}
diff -u ${TMP}/ls-from ${TMP}/ls-to >>${log} 2>&1 || failed=YES
if [ -z "${failed}" ] ; then
cat ${log}
rm ${log}
else
cat ${log}
rm ${log}
else
- echo " FAILED (test # ${testnum} status=$status).\a"
+ echo "${ECHO_T} FAILED (test # ${testnum} status=$status).\a"
cd "$suitedir"
echo " suitedir=$suitedir"
cd "$suitedir"
echo " suitedir=$suitedir"
+. "$suitedir/config.sh"
+
for testbase in $test_names
do
testscript="./$testbase.test"
for testbase in $test_names
do
testscript="./$testbase.test"