tests: fix void and invalid test in test-archive.t
authorMads Kiilerich <madski@unity3d.com>
Thu, 03 Oct 2013 14:50:46 +0200
changeset 19870 055d5b3f83b1
parent 19869 4210a05c4329
child 19871 6e74632170d3
tests: fix void and invalid test in test-archive.t An echo statement was missed in the .t-ification in afe19a1bf9d3 so we ended up with invalid sh syntax. But at the same time a continuation line was marked as $ instead of > and we thus added the salt that made the expression valid again.
tests/test-archive.t
--- a/tests/test-archive.t	Wed Oct 02 14:24:25 2013 -0700
+++ b/tests/test-archive.t	Thu Oct 03 14:50:46 2013 +0200
@@ -209,8 +209,7 @@
   test-2c0277f05ed4/foo
 
   $ hg archive -r 0 -t tar rev-%r.tar
-  $ if [ -f rev-0.tar ]; then
-  $ fi
+  $ [ -f rev-0.tar ]
 
 test .hg_archival.txt