aboutsummaryrefslogtreecommitdiff
path: root/tests/wildcard
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-03-09 18:20:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-03-09 18:20:38 +0300
commit870da718e38555352343a46ce02fb46d5eb3a365 (patch)
tree63de16fdbaa5ea8d541e02cda7486f857e604fbc /tests/wildcard
parent80d717aa12fbaa230a194c1902ea28e0a1b86586 (diff)
Fix path_match() character case sensitivity on Windows
Diffstat (limited to 'tests/wildcard')
-rw-r--r--tests/wildcard/testscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/wildcard/testscript b/tests/wildcard/testscript
index bcd618f..4a6c532 100644
--- a/tests/wildcard/testscript
+++ b/tests/wildcard/testscript
@@ -74,6 +74,19 @@
}
}
}
+
+ : case-sensitivity
+ :
+ : Test that matching is case-insensitive on Windows and sensitive otherwise.
+ :
+ if ($cxx.target.class != 'windows')
+ {
+ $* F*O/ foo/ == 1
+ }
+ else
+ {
+ $* F*O/ foo/
+ }
}
: path-search