summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-04-07 22:16:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-07 22:16:21 -0700
commitd1068592ab343a2fd6cb46e6d7304d65d7cf3b90 (patch)
tree4223f76563b5418769717540929bb3632fa68767 /t/helper
parentMerge branch 'ds/default-pack-use-sparse-to-true' (diff)
parentt5703: feed raw data into test-tool unpack-sideband (diff)
downloadtgif-d1068592ab343a2fd6cb46e6d7304d65d7cf3b90.tar.xz
Merge branch 'dd/test-with-busybox' into HEAD
* dd/test-with-busybox: t5703: feed raw data into test-tool unpack-sideband t4124: tweak test so that non-compliant diff(1) can also be used t7063: drop non-POSIX argument "-ls" from find(1) t5616: use rev-parse instead to get HEAD's object_id t5003: skip conversion test if unzip -a is unavailable t5003: drop the subshell in test_lazy_prereq test-lib-functions: test_cmp: eval $GIT_TEST_CMP t4061: use POSIX compliant regex(7)
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-pkt-line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-pkt-line.c b/t/helper/test-pkt-line.c
index 282d536384..12ca698e17 100644
--- a/t/helper/test-pkt-line.c
+++ b/t/helper/test-pkt-line.c
@@ -67,7 +67,7 @@ static void unpack_sideband(void)
case PACKET_READ_NORMAL:
band = reader.line[0] & 0xff;
if (band < 1 || band > 2)
- die("unexpected side band %d", band);
+ continue; /* skip non-sideband packets */
fd = band;
write_or_die(fd, reader.line + 1, reader.pktlen - 1);