test: fix test-import condition
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 02 Jun 2014 14:58:45 -0700
changeset 951 e3f7258d05d5
parent 950 cf4dcf49d998
child 952 f83f46411b09
test: fix test-import condition The help text is ``"only(`` not `` only(``
tests/test-import.t
--- a/tests/test-import.t	Sat May 31 00:23:25 2014 -0700
+++ b/tests/test-import.t	Mon Jun 02 14:58:45 2014 -0700
@@ -2,7 +2,7 @@
 This feature requires mercurial 3.0
 (and the `only(` revset is 3.0 specific)
 
-  $ (hg help revset | grep ' only(') || exit 80
+  $ (hg help revset | grep '"only(' > /dev/null) || exit 80
 
 Test creation of obsolescence marker by path import