Mercurial > hg
diff tests/test-mq-header-from @ 5822:38b592536a58
test-mq-header: don't fail with different patch(1)
At least under FreeBSD patch(1) won't fail on empty patch and will print
'Hmm...' warning instead. Sanitize output so tests won't fail unexpectedly.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 08 Jan 2008 06:56:21 +0300 |
parents | dd3ce7515f4d |
children | fb32ae9c76e7 |
line wrap: on
line diff
--- a/tests/test-mq-header-from Tue Jan 08 15:56:12 2008 -0600 +++ b/tests/test-mq-header-from Tue Jan 08 06:56:21 2008 +0300 @@ -83,8 +83,7 @@ hg qpop echo "# HG changeset patch" >>.hg/patches/5.patch echo "# User johndoe" >>.hg/patches/5.patch -# Drop patch specific error line -hg qpush 2>&1 | grep -v garbage +hg qpush 2>&1 | grep 'Now at' catlog 5 echo ==== hg qref