Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 3/6] t1006 (cat-file): use test_cmp

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:52:35

Ramkumar Ramachandra [off-list ref] writes:
Hi Matthieu,

Matthieu Moy wrote:
quoted
Ramkumar Ramachandra [off-list ref] writes:
quoted
 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?
Odd.  Email client issue?
It seems so. Weird, Gnus usually doesn't do this sort of things to me.
Sorry for the noise.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help