aboutsummaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2010-09-27 22:02:57 +0100
committerPat Thoyts <patthoyts@users.sourceforge.net>2010-10-01 23:08:47 +0100
commit3ba9ba8f34eda286867fba37e496850dc109af74 (patch)
tree6cc68d37dbf4a6b577aaca9f61c67a4128affcfd /t/test-lib.sh
parent4e57bafe8bc60e35b9841b22f99882581c466daf (diff)
downloadgit-3ba9ba8f34eda286867fba37e496850dc109af74.tar.gz
git-3ba9ba8f34eda286867fba37e496850dc109af74.tar.xz
Skip t1300.70 and 71 on msysGit.
These two tests fail on msysGit because /dev/null is an alias for nul on Windows and when reading the value back from git config the alias does not match the real filename. Also the HOME environment variable has a unix-style path but git returns a native equivalent path for '~'. As these are platform-dependent equivalent results it seems simplest to skip the test entirely. Moves the NOT_MINGW prereq from t5503 into the test library. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 830e5e736..a85e7954a 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -975,6 +975,7 @@ case $(uname -s) in
test_set_prereq POSIXPERM
test_set_prereq BSLASHPSPEC
test_set_prereq EXECKEEPSPID
+ test_set_prereq NOT_MINGW
;;
esac