This is an automated email from the git hooks/post-receive script. nomeata pushed a commit to branch master in repository devscripts.
commit a3d73681161fef79539d57e6957d1bb78216e1e7 Author: Joachim Breitner <[email protected]> Date: Fri Mar 21 16:44:53 2014 +0100 Test .* pattern in Files-Excluded --- test/test_uscan | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test_uscan b/test/test_uscan index c40c9bf..aa97b83 100755 --- a/test/test_uscan +++ b/test/test_uscan @@ -173,6 +173,7 @@ END Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files-Excluded: exclude-this exclude-dir + .* js/jquery.js END @@ -183,6 +184,7 @@ END mkdir -p $TMPDIR/repo touch $TMPDIR/repo/include-this touch $TMPDIR/repo/exclude-this + touch $TMPDIR/repo/.hidden mkdir -p "$TMPDIR/repo/; echo baz; #/" mkdir -p $TMPDIR/repo/exclude-dir touch $TMPDIR/repo/exclude-dir/file @@ -213,6 +215,8 @@ END $(containsName "$CONTENTS" subdir) assertFalse "non-root-file that must be excluded is present in the tarball" \ $(containsName "$CONTENTS" jquery.js) + assertFalse "hidden file that must be excluded is present in the zip file" \ + $(containsName "$CONTENTS" .hidden) assertFalse "path with whitespace that must be excluded is present" \ $(containsName "$CONTENTS" "; echo baz; #/") @@ -247,6 +251,7 @@ END Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files-Excluded: exclude-this exclude-dir + .* END # Test matching with escaped characters @@ -256,6 +261,7 @@ END mkdir -p $TMPDIR/repo touch $TMPDIR/repo/include-this touch $TMPDIR/repo/exclude-this + touch $TMPDIR/repo/.hidden mkdir -p "$TMPDIR/repo/; echo baz; #/" mkdir -p $TMPDIR/repo/exclude-dir/subdir touch $TMPDIR/repo/exclude-dir/file @@ -278,6 +284,8 @@ END $(containsName "$CONTENTS" exclude-dir) assertFalse "subdir that must be excluded is present in the zip file" \ $(containsName "$CONTENTS" subdir) + assertFalse "hidden file that must be excluded is present in the zip file" \ + $(containsName "$CONTENTS" .hidden) assertFalse "path with whitespace that must be excluded is present" \ $(containsName "$CONTENTS" "; echo baz; #/") -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
