tests: ensure platform independent revision hashes in test-notify.t
authorMads Kiilerich <mads@kiilerich.com>
Mon, 26 Dec 2011 16:54:43 +0100
changeset 15767 d85ecaf3e833
parent 15766 8e1854807dc2
child 15768 cdf9c43445df
tests: ensure platform independent revision hashes in test-notify.t Makes the test pass again on windows after ca572e94d8e7.
tests/test-notify.t
--- a/tests/test-notify.t	Mon Dec 26 16:57:14 2011 +0100
+++ b/tests/test-notify.t	Mon Dec 26 16:54:43 2011 +0100
@@ -412,7 +412,7 @@
   > test = False
   > mbox = mbox
   > EOF
-  $ python -c 'print "no" * 500' >> a/a
+  $ python -c 'file("a/a", "ab").write("no" * 500 + "\n")'
   $ hg --cwd a commit -A -m "long line"
   $ hg --traceback --cwd b pull ../a
   pulling from ../a