git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 13/14] t4135-*.sh: Skip the "backslash" tests on cygwin

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Dec 14, 2010, 18:37 UTC
Message-ID
<4D07B977.9010502@ramsay1.demon.co.uk>

The BSLASHPSPEC tests (11-13) fail on cygwin, since you can't create files containing an backslash character in the name. In order to skip these tests, we simply stop (incorrectly) asserting the BSLASHPSPEC prerequisite in test-lib.sh.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---

Note t3700-*.sh has a test protected by BSLASHSPEC which previously passed on cygwin and will now be (unnecessarily) skipped. This test needs to be skipped on MinGW, given how it is written; if you remove the single quotes around the filename, however, it will pass even on MinGW.

 t/test-lib.sh |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 9e74357..aee7d20 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1061,7 +1061,6 @@ case $(uname -s) in
 	;;
 *CYGWIN*)
 	test_set_prereq POSIXPERM
-	test_set_prereq BSLASHPSPEC
 	test_set_prereq EXECKEEPSPID
 	test_set_prereq NOT_MINGW
 	test_set_prereq SED_STRIPS_CR
-- 
1.7.3
Next: Johannes Sixt
Message 1 of 8 in “t4135-*.sh: Skip the "backslash" tests on cygwin”
  1. 13/14 t4135-*.sh: Skip the "backslash" tests on cygwinRamsay Jones, Dec 14, 2010
  2. Johannes SixtDec 14, 2010
  3. Ramsay JonesDec 16, 2010
  4. Johannes SixtDec 17, 2010
  5. Ramsay JonesDec 21, 2010
  6. Nguyen Thai Ngoc DuyDec 22, 2010
  7. Ramsay JonesDec 28, 2010
  8. Nguyen Thai Ngoc DuyDec 29, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.