Mercurial > public > mercurial-scm > hg-stable
diff tests/test-mq-header-date @ 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 | 4107e823dc2c |
children | 8cb81d75730c |
line wrap: on
line diff
--- a/tests/test-mq-header-date Tue Jan 08 15:56:12 2008 -0600 +++ b/tests/test-mq-header-date Tue Jan 08 06:56:21 2008 +0300 @@ -103,8 +103,7 @@ hg qpop echo "# HG changeset patch" >>.hg/patches/5.patch echo "# Date 10 0" >>.hg/patches/5.patch -# Drop patch specific error line -hg qpush 2>&1 | grep -v garbage +hg qpush 2>&1 | grep 'Now at' catlogd 5 echo ==== hg qref