From patchwork Sun Feb 16 23:15:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3, of, 3] tests: glob match has a glob character for not getting a warning on windows From: Simon Heimberg X-Patchwork-Id: 3678 Message-Id: <10c44ef7fcb844333735.1392592503@lapsi.heimberg.home> To: Mercurial-devel Date: Mon, 17 Feb 2014 00:15:03 +0100 # HG changeset patch # User Simon Heimberg # Date 1392334604 -3600 # Fri Feb 14 00:36:44 2014 +0100 # Node ID 10c44ef7fcb844333735a1ea8648542a4777f000 # Parent 4035e88253d1ed7a2989269b5773adfb9908be9a tests: glob match has a glob character for not getting a warning on windows When / matches on / on windows, and there is no other glob character, this results in a warning. Avoid this by using an other glob character. diff -r 4035e88253d1 -r 10c44ef7fcb8 tests/test-run-tests.t --- a/tests/test-run-tests.t Sun Feb 16 23:41:24 2014 +0100 +++ b/tests/test-run-tests.t Fri Feb 14 00:36:44 2014 +0100 @@ -65,7 +65,7 @@ Combining esc with other markups - and handling lines ending with \r instead of \n: $ printf 'foo/bar\r' - foo/bar\r (no-eol) (glob) (esc) + fo?/bar\r (no-eol) (glob) (esc) #if windows $ printf 'foo\\bar\r' foo/bar\r (no-eol) (glob) (esc)