t5305: drop "dry-run" of unpack-objects
authorJeff King <peff@peff.net>
Mon, 5 Sep 2016 21:52:14 +0000 (17:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 18:45:27 +0000 (11:45 -0700)
For each test we do a dry-run of unpack-objects, followed by
a real run, followed by confirming that it contained the
objects we expected. The dry-run is telling us nothing, as
any errors it encounters would be found in the real run.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5305-include-tag.sh
index 60184048c5273d21db2da235dc5555c3b9c6e972..787fc831e3a8a41f3037252fe075afd5f3813b8f 100755 (executable)
@@ -37,7 +37,6 @@ test_expect_success 'unpack objects' '
                GIT_DIR=clone.git &&
                export GIT_DIR &&
                git init &&
-               git unpack-objects -n <test-1-${packname_1}.pack &&
                git unpack-objects <test-1-${packname_1}.pack
        )
 '
@@ -64,7 +63,6 @@ test_expect_success 'unpack objects' '
                GIT_DIR=clone.git &&
                export GIT_DIR &&
                git init &&
-               git unpack-objects -n <test-2-${packname_1}.pack &&
                git unpack-objects <test-2-${packname_1}.pack
        )
 '