diff options
author | Torsten Bögershausen <tboegi@web.de> | 2012-12-08 22:33:55 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-09 01:37:50 -0800 |
commit | 173581412819d5be9035e641bc895d5d4a468d6a (patch) | |
tree | fd4a0fdb1495f0fbec9fd1af1d386331982e97fd /sigchain.c | |
parent | t9402: sed -i is not portable (diff) | |
download | tgif-173581412819d5be9035e641bc895d5d4a468d6a.tar.xz |
t9402: improve check_end_tree() and check_end_full_tree()
check_end_tree():
- Instead of counting lines using wc in expectCount and cvsCount:
Sort and compare the files byte by byte with test_cmp,
which is more exact and easier to debug
- Chain all shell comands together using &&
check_end_full_tree()
- Instead of counting lines using wc in expectCount, cvsCount and gitCount:
Sort and compare the files byte by byte with test_cmp,
which is more exact and easier to debug
- Break the test using two conditions anded together with -a
into to call to test_cmp
- Chain all shell comands together using &&
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sigchain.c')
0 files changed, 0 insertions, 0 deletions