mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-02-27 23:10:41 +01:00
t: cleanup win check
This commit is contained in:
@@ -22,10 +22,12 @@ test_set_prereq() {
|
||||
}
|
||||
satisfied_prereq=" "
|
||||
|
||||
if [[ $(uname -s) = MSYS* ]] || [[ $(uname -s) = MINGW* ]]; then
|
||||
case "$(uname -s)" in
|
||||
MSYS*|MINGW*)
|
||||
test_set_prereq WIN
|
||||
export TEST_CMP='diff --strip-trailing-cr -u'
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
test_cmp() {
|
||||
${TEST_CMP:-diff -u} "$@"
|
||||
|
||||
Reference in New Issue
Block a user