Patchwork [3,of,3] tests: glob match has a glob character for not getting a warning on windows

login
register
mail settings
Submitter Simon Heimberg
Date Feb. 16, 2014, 11:15 p.m.
Message ID <10c44ef7fcb844333735.1392592503@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/3678/
State Accepted
Commit 8a2dfac89ad6054d1be0a5ed6866120832e3a127
Headers show

Comments

Simon Heimberg - Feb. 16, 2014, 11:15 p.m.
# HG changeset patch
# User Simon Heimberg <simohe@besonet.ch>
# 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.

Patch

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)