diff --git a/testsuite/hands.test b/testsuite/hands.test index fced34a9..4705641c 100644 --- a/testsuite/hands.test +++ b/testsuite/hands.test @@ -1,7 +1,7 @@ #!/bin/sh -# Copyright (C) 1998,1999 Philip Hands -# Copyright (C) 2001 by Martin Pool +# Copyright (C) 1998, 1999 by Philip Hands +# Copyright (C) 2001, 2002 by Martin Pool # # This program is distributable under the terms of the GNU GPL (see COPYING) @@ -24,7 +24,3 @@ runtest "extra data" 'checkit "$RSYNC -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}' cp ${FROM}/text ${TO}/ThisShouldGo runtest " --delete" 'checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}' - -checkforlogs ${LOG}.? - -hands_cleanup \ No newline at end of file diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns index 1bb23f97..1d748aea 100644 --- a/testsuite/rsync.fns +++ b/testsuite/rsync.fns @@ -102,13 +102,6 @@ hands_setup() { } -hands_cleanup() { - rm -r "$TMP" -} - - - - #################### # Many machines do not have "mkdir -p", so we have to build up long paths. # How boring. @@ -181,21 +174,6 @@ checkit() { } -# In fact, we need a more general feature of capturing all stderr/log files, -# and dumping them if something goes wrong. - -checkforlogs() { - # skip it if we're under debian-test - if test -n "${Debian}" ; then return 0 ; fi - - if [ -f $1 -a -s $1 ] ; then - echo "Failures have occurred. $1 follows:" >&2 - cat $1 >&2 - exit 1 - fi -} - - build_rsyncd_conf() { # Build an appropriate configuration file conf="$scratchdir/test-rsyncd.conf"