[PATCH 1 of 5] tests: fix void and invalid test in test-archive.t
Mads Kiilerich
mads at kiilerich.com
Thu Oct 3 07:56:59 CDT 2013
# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1380804646 -7200
# Thu Oct 03 14:50:46 2013 +0200
# Node ID 77fa0218c265bd0c43ad113da9fba6d4a30240f5
# Parent a69a77a80900eabe1257c935818d0910217e9702
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.
diff --git a/tests/test-archive.t b/tests/test-archive.t
--- a/tests/test-archive.t
+++ b/tests/test-archive.t
@@ -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
More information about the Mercurial-devel
mailing list