##// END OF EJS Templates
run-tests: give each child its own tmp dir (issue1911)...
run-tests: give each child its own tmp dir (issue1911) Fixes bug introduced by f8b4df4b033d (issue1911: --tmpdir plus parallel mode = fail), and also fixes the long-standing quirk that parallel mode created multiple /tmp/hgtests.XXXXXX directories. Now there is only one /tmp/hgtests.XXXXXX, with child0, child1, etc. under it.

File last commit:

r8936:1de6e7e1 default
r9899:be574a37 stable
Show More
test-issue352
24 lines | 265 B | text/plain | TextLexer
Giorgos Keramidas
Use printf(1) instead of using bash-specific shell code....
r4292 #!/bin/sh
Dirkjan Ochtman
change wiki/bts URLs to point to new hostname
r8936 # http://mercurial.selenic.com/bts/issue352
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607
Patrick Mezard
test-issue352: skip tests if platform does not support EOL in paths.
r5075 "$TESTDIR/hghave" eol-in-paths || exit 80
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 hg init foo
cd foo
Giorgos Keramidas
Use printf(1) instead of using bash-specific shell code....
r4292 A=`printf 'he\rllo'`
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607
echo foo > "$A"
hg add
hg ci -A -m m
rm "$A"
Alexis S. L. Carvalho
Leave normalization of patterns to util._matcher...
r4186
echo foo > "hell
o"
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 hg add
hg ci -A -m m
Alexis S. L. Carvalho
Leave normalization of patterns to util._matcher...
r4186 echo foo > "$A"
hg debugwalk
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 exit 0