diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2009-03-16 23:18:42 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-18 00:25:52 +0300 |
commit | 188c3827c10f5a04588ef7af8b63a7b5dbcc38ed (patch) | |
tree | 5f21da7b7c4a13c52f785fa27577616ea3fa3204 /t/t9001-send-email.sh | |
parent | dcb11263bcdbf31955dd00777392249bf1624226 (diff) |
Tests: use test_cmp instead of diff where possible
Several old tests were written before test_cmp was introduced, convert
these to test_cmp.
If were are at it, fix the order of the arguments where necessary to
make expected come first, so the command shows how the test result
deviates from the correct output.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9001-send-email.sh')
-rwxr-xr-x | t/t9001-send-email.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 08d5b91c91..9523305304 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -88,7 +88,7 @@ cat >expected <<\EOF EOF test_expect_success \ 'Verify commandline' \ - 'diff commandline1 expected' + 'test_cmp expected commandline1' cat >expected-show-all-headers <<\EOF 0001-Second.patch |