diff options
author | Martin Pool <mbp@samba.org> | 2002-03-26 10:28:57 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-03-26 10:28:57 +0000 |
commit | e553d27f41edd990622479b386e9ba991eda30fb (patch) | |
tree | c970d027fd4a81625c7a078acd03b24b2521841d /testsuite/hands.test | |
parent | d092924c63463a77eebea3bc8d1bbfa24b7a130d (diff) | |
download | rsync-e553d27f41edd990622479b386e9ba991eda30fb.tar.gz |
Fix suggested by Jos for hands.test. Some of the functionality
previously built into Phil's test was clashing with the runtests.sh
framework. I think one of the core problems might be that scripts
which don't explicitly "exit 0" have return codes which vary depending
on the particular shell. (c.f. the autoconf portability guide.)
This might break the Debian test suite but I'm afraid I don't know
enough about how it works yet. Hopefully eventually it can become
just a wrapper around our 'make check'.
Diffstat (limited to 'testsuite/hands.test')
-rw-r--r-- | testsuite/hands.test | 8 |
1 files changed, 2 insertions, 6 deletions
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 <phil@hands.com> -# Copyright (C) 2001 by Martin Pool <mbp@samba.org> +# Copyright (C) 1998, 1999 by Philip Hands <phil@hands.com> +# Copyright (C) 2001, 2002 by Martin Pool <mbp@samba.org> # # 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 |