Ramkumar Ramachandra [off-list ref] writes:
test_expect_success "--batch-check with multiple sha1s gives correct format" '
- test "$batch_check_output" = \
- "$(echo_without_newline "$batch_check_input" | git cat-file --batch-check)"
+ echo "$batch_check_output" >expect &&
+ echo_without_newline "$batch_check_input" | git cat-file
+ --batch-check >actual &&
+ test_cmp expect actual
'
Whitespace damage?
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/