tests/test-revert-interactive.t
changeset 24361 8de8cd34f2e3
parent 24359 521fe8287dd5
child 24389 93d3e1a8bfb0
--- a/tests/test-revert-interactive.t	Tue Mar 17 20:59:23 2015 -0400
+++ b/tests/test-revert-interactive.t	Tue Mar 17 21:47:47 2015 -0400
@@ -21,13 +21,13 @@
   $ mkdir -p a/{folder1,folder2}
   $ cd a
   $ hg init
-  $ seq 1 5 > f ; hg add f ; hg commit -m "adding f"
-  $ seq 1 5 > folder1/g ; hg add folder1/g ; hg commit -m "adding folder1/g"
-  $ seq 1 5 > folder2/h ; hg add folder2/h ; hg commit -m "adding folder2/h"
-  $ seq 1 5 > folder1/i ; hg add folder1/i ; hg commit -m "adding folder1/i"
-  $ echo "a" > f ; seq 1 5 >> f ; echo "b" >> f ; hg commit -m "modifying f"
-  $ echo "c" > folder1/g ; seq 1 5 >> folder1/g ; echo "d" >> folder1/g ; hg commit -m "modifying folder1/g"
-  $ echo "e" > folder2/h ; seq 1 5 >> folder2/h ; echo "f" >> folder2/h ; hg commit -m "modifying folder2/h"
+  $ python $TESTDIR/seq.py 1 5 > f ; hg add f ; hg commit -m "adding f"
+  $ cat f > folder1/g ; hg add folder1/g ; hg commit -m "adding folder1/g"
+  $ cat f > folder2/h ; hg add folder2/h ; hg commit -m "adding folder2/h"
+  $ cat f > folder1/i ; hg add folder1/i ; hg commit -m "adding folder1/i"
+  $ echo "a" > f ; python $TESTDIR/seq.py 1 5 >> f ; echo "b" >> f ; hg commit -m "modifying f"
+  $ echo "c" > folder1/g ; python $TESTDIR/seq.py 1 5 >> folder1/g ; echo "d" >> folder1/g ; hg commit -m "modifying folder1/g"
+  $ echo "e" > folder2/h ; python $TESTDIR/seq.py 1 5 >> folder2/h ; echo "f" >> folder2/h ; hg commit -m "modifying folder2/h"
   $ hg tip
   changeset:   6:59dd6e4ab63a
   tag:         tip