changeset 951:e3f7258d05d5

test: fix test-import condition The help text is ``"only(`` not `` only(``
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 02 Jun 2014 14:58:45 -0700
parents cf4dcf49d998
children f83f46411b09
files tests/test-import.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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