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

Re: [PATCH 1/4] test-suite: adding a test for fast-export with tag variants

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:27

Erik Faye-Lund [off-list ref] writes:
On Mon, Mar 23, 2009 at 1:39 AM, Junio C Hamano [off-list ref] wrote:
...
quoted
These tests seem to only care about fast-export not dying, but don't we
also want to check if they produce correct results?
Well, yeah. But I was working mainly on fixing a crash-bug here, and I
don't think I know enough about the correct output of fast-export to
pull this off. Perhaps tighting up the test is something someone else
would care to do?
Surely; for a starter, saying something like this:

+# NEEDSWORK: not just check return status, but validate the output
+test_expect_failure 'tree_tag'        'git fast-export tree_tag'
+test_expect_failure 'tree_tag-obj'    'git fast-export tree_tag-obj'
+test_expect_failure 'tag-obj_tag'     'git fast-export tag-obj_tag'
+test_expect_failure 'tag-obj_tag-obj' 'git fast-export tag-obj_tag-obj'

would do, and will invite others to fill the gap when they have time.

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