##// END OF EJS Templates
tests: Solaris sed does not support "\n" meaning newline in the RHS of s///...
Danek Duvall -
r28336:a5a13eef default
parent child Browse files
Show More
@@ -154,7 +154,9 b' log rotation'
154 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
154 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
155 $ mv .hg/blackbox.log .hg/blackbox.log-
155 $ mv .hg/blackbox.log .hg/blackbox.log-
156 $ mkdir .hg/blackbox.log
156 $ mkdir .hg/blackbox.log
157 $ sed -e 's/\(.*test1.*\)/#\1/; s#\(.*commit2.*\)#os.rmdir(".hg/blackbox.log")\nos.rename(".hg/blackbox.log-", ".hg/blackbox.log")\n\1#' $TESTDIR/test-dispatch.py > ../test-dispatch.py
157 $ sed -e 's/\(.*test1.*\)/#\1/; s#\(.*commit2.*\)#os.rmdir(".hg/blackbox.log")\
158 > os.rename(".hg/blackbox.log-", ".hg/blackbox.log")\
159 > \1#' $TESTDIR/test-dispatch.py > ../test-dispatch.py
158 $ python ../test-dispatch.py
160 $ python ../test-dispatch.py
159 running: add foo
161 running: add foo
160 result: 0
162 result: 0
General Comments 0
You need to be logged in to leave comments. Login now