Skip to content

Instantly share code, notes, and snippets.

@avar
Created March 8, 2010 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avar/325166 to your computer and use it in GitHub Desktop.
Save avar/325166 to your computer and use it in GitHub Desktop.
aoeu git-fail (master) $ perl add-fail.t git /home/avar/g/git/git
1..3
# Testing git version git version 1.6.3.3
ok 1 - ./file is ignored
ok 2 - ./dir/file is ignored
ok 3 - ./dir/dir/dir/file is ignored
aoeu git-fail (master) $ perl add-fail.t /home/avar/g/git/git
1..3
# Testing git version git version 1.7.0.2.157.gb7e7f
ok 1 - ./file is ignored
not ok 2 - ./dir/file is ignored
# Failed test './dir/file is ignored'
# at add-fail.t line 21.
# ''
# doesn't match '(?-xism:The following paths are ignored)'
not ok 3 - ./dir/dir/dir/file is ignored
# Failed test './dir/dir/dir/file is ignored'
# at add-fail.t line 24.
# ''
# doesn't match '(?-xism:The following paths are ignored)'
# Looks like you failed 2 tests of 3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment