X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b62fd393922308956040327ddeefc8fa7b17bfff..434e77193cfb17e92a70e6519fd091700a2ec5a4:/testsuite/exclude.test diff --git a/testsuite/exclude.test b/testsuite/exclude.test index eda1ec99..1aa33e32 100644 --- a/testsuite/exclude.test +++ b/testsuite/exclude.test @@ -2,7 +2,7 @@ # Copyright (C) 2003, 2004, 2005 by Wayne Davison -# This program is distributable under the terms of the GNU GPL see +# This program is distributable under the terms of the GNU GPL (see # COPYING). # Test rsync handling of exclude/include directives. @@ -12,16 +12,18 @@ . "$suitedir/rsync.fns" -HOME="$scratchdir" CVSIGNORE='*.junk' -export HOME CVSIGNORE +export CVSIGNORE # 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" +makepath "$fromdir/new/keep/this" +makepath "$fromdir/new/lose/this" cat >"$fromdir/.filt" <"$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" <