From 870da718e38555352343a46ce02fb46d5eb3a365 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 9 Mar 2017 18:20:38 +0300 Subject: Fix path_match() character case sensitivity on Windows --- tests/wildcard/testscript | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/wildcard') 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 -- cgit v1.1