tests: mq-safety: use regular expression instead of sed
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 30 Aug 2010 13:41:03 +0900
changeset 12108 a57e0762c5ec
parent 12107 497c78760b37
child 12109 51272b65b9b7
tests: mq-safety: use regular expression instead of sed
tests/test-bisect.t
tests/test-churn.t
tests/test-inherit-mode.t
tests/test-mq-safety.t
tests/test-remove-new.t
tests/test-remove.t
tests/test-rename.t
tests/test-revert.t
tests/test-revset.t
tests/test-strict.t
--- a/tests/test-mq-safety.t	Mon Aug 30 13:37:12 2010 +0900
+++ b/tests/test-mq-safety.t	Mon Aug 30 13:41:03 2010 +0900
@@ -36,8 +36,8 @@
 
   $ hg qpop
   abort: popping would remove a revision not managed by this patch queue
-  $ hg qpop -n patches 2>&1 | sed -e 's/\(using patch queue:\).*/\1/'
-  using patch queue:
+  $ hg qpop -n patches
+  using patch queue: .*/repo/.hg/patches
   abort: popping would remove a revision not managed by this patch queue
   $ hg qrefresh
   abort: working directory revision is not qtip