tests/test-debugcommands.t
changeset 23256 1c11393d5dfb
parent 23255 76effa770ff9
child 23547 21446f4d5c62
--- a/tests/test-debugcommands.t	Thu Nov 06 14:20:05 2014 -0800
+++ b/tests/test-debugcommands.t	Tue Nov 11 10:35:06 2014 -0500
@@ -26,25 +26,25 @@
 
 Test max chain len
   $ cat >> $HGRCPATH << EOF
-  > [revlog]
+  > [format]
   > maxchainlen=4
   > EOF
 
-  $ echo "This test checks if maxchainlen config value is respected also it can serve as basic test for debugrevlog -d <file>.\n" >> a
+  $ printf "This test checks if maxchainlen config value is respected also it can serve as basic test for debugrevlog -d <file>.\n" >> a
   $ hg ci -m a
-  $ echo "b\n" >> a
+  $ printf "b\n" >> a
   $ hg ci -m a
-  $ echo "c\n" >> a
+  $ printf "c\n" >> a
   $ hg ci -m a
-  $ echo "d\n" >> a
+  $ printf "d\n" >> a
   $ hg ci -m a
-  $ echo "e\n" >> a
+  $ printf "e\n" >> a
   $ hg ci -m a
-  $ echo "f\n" >> a
+  $ printf "f\n" >> a
   $ hg ci -m a
-  $ echo 'g\n' >> a
+  $ printf 'g\n' >> a
   $ hg ci -m a
-  $ echo 'h\n' >> a
+  $ printf 'h\n' >> a
   $ hg ci -m a
   $ hg debugrevlog -d a
   # rev p1rev p2rev start   end deltastart base   p1   p2 rawsize totalsize compression heads chainlen