# HG changeset patch # User Nicolas Dumazet # Date 1283143263 -32400 # Node ID a57e0762c5ecd75a6a7dfbcd39a385d7e413787e # Parent 497c78760b37ac6a0303dd2bba9d6fa2fe31e219 tests: mq-safety: use regular expression instead of sed diff -r 497c78760b37 -r a57e0762c5ec tests/test-mq-safety.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