aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-12-14 18:26:38 +0000
committerJunio C Hamano <gitster@pobox.com>2010-12-14 11:12:10 -0800
commit1b3187ba6efdb216a9b45dac087aa4bfba0b90ae (patch)
treee023696ac88e8484d34bdd00cf4da9d1a57391c4 /t
parentcff484a98baf57f11daed62744bcf0774bd78c2f (diff)
downloadgit-1b3187ba6efdb216a9b45dac087aa4bfba0b90ae.tar.gz
git-1b3187ba6efdb216a9b45dac087aa4bfba0b90ae.tar.xz
t9501-*.sh: Fix a test failure on Cygwin
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t9501-gitweb-standalone-http-status.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9501-gitweb-standalone-http-status.sh b/t/t9501-gitweb-standalone-http-status.sh
index 2487da129..18825aff8 100755
--- a/t/t9501-gitweb-standalone-http-status.sh
+++ b/t/t9501-gitweb-standalone-http-status.sh
@@ -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'
"