Thread (1 message) 1 message, 1 author, 2016-09-27

Re: [PATCH 1/2] tree-walk: be more specific about corrupt tree errors

From: Junio C Hamano <hidden>
Date: 2016-09-27 05:35:50

Jeff King [off-list ref] writes:
quoted
+test_expect_success 'malformed mode in tree' '
+	test_must_fail git hash-object -t tree ../t1007/tree-with-malformed-mode 2>err &&
+	grep "malformed mode in tree entry for tree" err
+'
This ".." will break when the test is run with "--root". You should use

  "$TEST_DIRECTORY"/t1007/...

instead. And ditto in the second test, of course.
Ahh, that explains the breakage I saw.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help