rsync-2.5.0 patch for "make check" bug
Tom Schmidt
tschmidt at micron.com
Sat Dec 1 06:05:04 EST 2001
Attached is a patch for rsync 2.5.0 to fix the "make check" option.
The find command was not being passwd the current directory in the
hands.test and longdir.test testsuites, which caused them to fail
on SunOS 4.X and Solaris 2.X systems.
Tom
--
Tom L. Schmidt, Manager/SysAdmin Characterization Equipment
Micron Technology, Inc.
8000 S. Federal Way P.O. Box 6 Mail Stop 376 Boise, Idaho USA
83707-0006
mailto:tschmidt at micron.com http://www.4schmidts.com/
-------------- next part --------------
*** testsuite/rsync.fns.orig Tue Nov 27 00:59:34 2001
--- testsuite/rsync.fns Fri Nov 30 11:41:09 2001
***************
*** 149,156 ****
echo "-------------">>${log}
echo "check how the directory listings compare with diff:">>${log}
echo "">>${log}
! ( cd "$2" && rsync_ls_lR ) > ${TMP}/ls-from 2>>${log}
! ( cd "$3" && rsync_ls_lR ) > ${TMP}/ls-to 2>>${log}
diff -c ${TMP}/ls-from ${TMP}/ls-to >>${log} 2>&1 || failed=YES
if [ -z "${failed}" ] ; then
rm $log
--- 149,156 ----
echo "-------------">>${log}
echo "check how the directory listings compare with diff:">>${log}
echo "">>${log}
! ( cd "$2" && rsync_ls_lR . ) > ${TMP}/ls-from 2>>${log}
! ( cd "$3" && rsync_ls_lR . ) > ${TMP}/ls-to 2>>${log}
diff -c ${TMP}/ls-from ${TMP}/ls-to >>${log} 2>&1 || failed=YES
if [ -z "${failed}" ] ; then
rm $log
*** runtests.sh.orig Fri Sep 7 01:57:10 2001
--- runtests.sh Fri Nov 30 11:42:31 2001
***************
*** 183,189 ****
if sh $RUNSHFLAGS "$testscript"
then
! echo "----- $testbase completed succesfully"
passed=`expr $passed + 1`
else
case $? in
--- 183,189 ----
if sh $RUNSHFLAGS "$testscript"
then
! echo "----- $testbase completed successfully"
passed=`expr $passed + 1`
else
case $? in
More information about the rsync
mailing list