changeset 19870:055d5b3f83b1

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.
author Mads Kiilerich <madski@unity3d.com>
date Thu, 03 Oct 2013 14:50:46 +0200
parents 4210a05c4329
children 6e74632170d3
files tests/test-archive.t
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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