Skip to content

Commit

Permalink
t9501-*.sh: Fix a test failure on Cygwin
Browse files Browse the repository at this point in the history
The first (setup) test attempts to create a file, using the
test_commit function, called 'i can has snapshot?'. On cygwin
(and MinGW) this fails with a "No such file or directory" error.
In order to fix the tests, we simply remove the '?' wildcard
from the name, since the purpose of these tests is not about
creating funny filenames.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed Dec 14, 2010
1 parent cff484a commit 1b3187b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t9501-gitweb-standalone-http-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ code and message.'
# snapshot settings

test_expect_success 'setup' "
test_commit 'SnapshotTests' 'i can has snapshot?'
test_commit 'SnapshotTests' 'i can has snapshot'
"


Expand Down

0 comments on commit 1b3187b

Please sign in to comment.