# HG changeset patch # User Mads Kiilerich # Date 1221738336 -7200 # Node ID 0ada66dcc25963a1f13f7b4fd51dacb479ed4a96 # Parent b856071435f72df2a294c19332d165a70ad6e2d7 tests: fix reported patch tool name in test-mq Strip any path of the patch executable, which it might return on failure. diff -r b856071435f7 -r 0ada66dcc259 tests/test-mq --- a/tests/test-mq Thu Sep 18 13:48:41 2008 +0200 +++ b/tests/test-mq Thu Sep 18 13:45:36 2008 +0200 @@ -512,7 +512,7 @@ hg qpush echo % apply force, should not discard changes with empty patch -hg qpush -f +hg qpush -f 2>&1 | sed 's,^.*/patch,patch,g' hg diff --config diff.nodates=True hg qdiff --config diff.nodates=True hg log -l1 -p diff -r b856071435f7 -r 0ada66dcc259 tests/test-mq.out --- a/tests/test-mq.out Thu Sep 18 13:48:41 2008 +0200 +++ b/tests/test-mq.out Thu Sep 18 13:45:36 2008 +0200 @@ -492,7 +492,7 @@ abort: local changes found, refresh first % apply force, should not discard changes with empty patch applying empty -/usr/bin/patch: **** Only garbage was found in the patch input. +patch: **** Only garbage was found in the patch input. patch failed, unable to continue (try -v) patch empty is empty Now at: empty