diff -r 469850088fc1 -r 3cb0559e44d0 tests/test-hgignore --- a/tests/test-hgignore Wed Oct 20 23:39:48 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -#!/bin/sh - -hg init - -# Test issue 562: .hgignore requires newline at end -touch foo -touch bar -touch baz -cat > makeignore.py < .hgignore -echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/' - -echo ".*\.o" > .hgignore -echo "--" ; hg status - -# Check it does not ignore the current directory '.' -echo "^\." > .hgignore -echo "--" ; hg status - -echo "glob:**.o" > .hgignore -echo "--" ; hg status - -echo "glob:*.o" > .hgignore -echo "--" ; hg status - -echo "syntax: glob" > .hgignore -echo "re:.*\.o" >> .hgignore -echo "--" ; hg status - -echo "syntax: invalid" > .hgignore -echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/' - -echo "syntax: glob" > .hgignore -echo "*.o" >> .hgignore -echo "--" ; hg status - -echo "relglob:syntax*" > .hgignore -echo "--" ; hg status - -echo "relglob:*" > .hgignore -echo "--" ; hg status - -cd dir -echo "--" ; hg status .