X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0314302e9cbe851f05b6f4567f2c1978a38471e3..3f2d8d683a7a5a31ab01874007ee6a62249bb45b:/testsuite/exclude.test diff --git a/testsuite/exclude.test b/testsuite/exclude.test index 23a4d976..2fef0922 100644 --- a/testsuite/exclude.test +++ b/testsuite/exclude.test @@ -2,21 +2,18 @@ # 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. +# Test rsync handling of exclude/include directives. # Test some of the more obscure wildcard handling of exclude/include # processing. . "$suitedir/rsync.fns" -HOME="$scratchdir" CVSIGNORE='*.junk' -export HOME CVSIGNORE - -set -x +export CVSIGNORE # Build some files/dirs/links to copy @@ -25,6 +22,8 @@ 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/mid/for/one-in-one-out" echo expunged >"$fromdir/mid/for/foo/extra" echo retained >"$fromdir/mid/for/foo/keep" -ln -s too "$fromdir/bar/down/to/foo/sym" # Setup our test exclude/include files. @@ -92,6 +90,9 @@ cat >"$excl" <"$scratchdir/.cvsignore" <