changeset 12108:a57e0762c5ec

tests: mq-safety: use regular expression instead of sed
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 30 Aug 2010 13:41:03 +0900
parents 497c78760b37
children 51272b65b9b7
files 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
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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