tests/test-diffstat.t
branchstable
changeset 16098 c6c9b83a1e8a
parent 15363 628a4a9e411d
child 16913 f2719b387380
--- a/tests/test-diffstat.t	Mon Feb 06 16:35:14 2012 -0600
+++ b/tests/test-diffstat.t	Wed Feb 08 16:56:00 2012 +0000
@@ -35,7 +35,7 @@
 
   $ hg ci -m appenda
 
-  $ printf '\0' > c
+  >>> open("c", "wb").write("\0")
   $ touch d
   $ hg add c d
 
@@ -54,7 +54,7 @@
 
   $ hg ci -m createb
 
-  $ printf '\0' > "file with spaces"
+  >>> open("file with spaces", "wb").write("\0")
   $ hg add "file with spaces"
 
 Filename with spaces diffstat: