X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/bb558f67916e53f0744baf7d3f956793670b4721..955a3a3ded9759ea90710b07319a69ecfb56c67d:/testsuite/exclude.test diff --git a/testsuite/exclude.test b/testsuite/exclude.test index e64f9500..23a4d976 100644 --- a/testsuite/exclude.test +++ b/testsuite/exclude.test @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2003 by Wayne Davison +# Copyright (C) 2003, 2004, 2005 by Wayne Davison # This program is distributable under the terms of the GNU GPL see # COPYING). @@ -12,15 +12,16 @@ . "$suitedir/rsync.fns" -set -x - HOME="$scratchdir" CVSIGNORE='*.junk' export HOME CVSIGNORE +set -x + # Build some files/dirs/links to copy makepath "$fromdir/foo/down/to/you" +makepath "$fromdir/foo/sub" makepath "$fromdir/bar/down/to/foo/too" makepath "$fromdir/bar/down/to/bar/baz" makepath "$fromdir/mid/for/foo/and/that/is/who" @@ -32,13 +33,14 @@ clear - *.bak - *.old EOF -echo kept >"$fromdir/foo/file1" +echo filtered-1 >"$fromdir/foo/file1" echo removed >"$fromdir/foo/file2" echo cvsout >"$fromdir/foo/file2.old" cat >"$fromdir/foo/.filt" <"$fromdir/foo/sub/file1" cat >"$fromdir/bar/.filt" <"$excl" <