##// END OF EJS Templates
test-run-tests.t: work around file.write() returning an int...
Augie Fackler -
r25054:af5a778f default
parent child Browse files
Show More
@@ -39,8 +39,8 b' failing test'
39 > EOF
39 > EOF
40
40
41 >>> fh = open('test-failure-unicode.t', 'wb')
41 >>> fh = open('test-failure-unicode.t', 'wb')
42 >>> fh.write(u' $ echo babar\u03b1\n'.encode('utf-8'))
42 >>> fh.write(u' $ echo babar\u03b1\n'.encode('utf-8')) and None
43 >>> fh.write(u' l\u03b5\u03b5t\n'.encode('utf-8'))
43 >>> fh.write(u' l\u03b5\u03b5t\n'.encode('utf-8')) and None
44
44
45 $ $TESTDIR/run-tests.py --with-hg=`which hg`
45 $ $TESTDIR/run-tests.py --with-hg=`which hg`
46
46
@@ -258,8 +258,8 b' Parallel runs'
258
258
259 failures in parallel with --first should only print one failure
259 failures in parallel with --first should only print one failure
260 >>> f = open('test-nothing.t', 'w')
260 >>> f = open('test-nothing.t', 'w')
261 >>> f.write('foo\n' * 1024)
261 >>> f.write('foo\n' * 1024) and None
262 >>> f.write(' $ sleep 1')
262 >>> f.write(' $ sleep 1') and None
263 $ $TESTDIR/run-tests.py --with-hg=`which hg` --jobs 2 --first
263 $ $TESTDIR/run-tests.py --with-hg=`which hg` --jobs 2 --first
264
264
265 --- $TESTTMP/test-failure*.t (glob)
265 --- $TESTTMP/test-failure*.t (glob)
General Comments 0
You need to be logged in to leave comments. Login now