]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t4211: move SHA-1-specific test cases into a directory
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 7 Feb 2020 00:52:41 +0000 (00:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Feb 2020 19:07:30 +0000 (11:07 -0800)
In preparation for adding SHA-256 support to this test, let's move the
SHA-1-specific expected output into a directory called "sha1".  This
will allow us to add a similar directory for SHA-256 as well.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 files changed:
t/t4211-line-log.sh
t/t4211/sha1/expect.beginning-of-file [moved from t/t4211/expect.beginning-of-file with 100% similarity]
t/t4211/sha1/expect.end-of-file [moved from t/t4211/expect.end-of-file with 100% similarity]
t/t4211/sha1/expect.move-support-f [moved from t/t4211/expect.move-support-f with 100% similarity]
t/t4211/sha1/expect.multiple [moved from t/t4211/expect.multiple with 100% similarity]
t/t4211/sha1/expect.multiple-overlapping [moved from t/t4211/expect.multiple-overlapping with 100% similarity]
t/t4211/sha1/expect.multiple-superset [moved from t/t4211/expect.multiple-superset with 100% similarity]
t/t4211/sha1/expect.parallel-change-f-to-main [moved from t/t4211/expect.parallel-change-f-to-main with 100% similarity]
t/t4211/sha1/expect.simple-f [moved from t/t4211/expect.simple-f with 100% similarity]
t/t4211/sha1/expect.simple-f-to-main [moved from t/t4211/expect.simple-f-to-main with 100% similarity]
t/t4211/sha1/expect.simple-main [moved from t/t4211/expect.simple-main with 100% similarity]
t/t4211/sha1/expect.simple-main-to-end [moved from t/t4211/expect.simple-main-to-end with 100% similarity]
t/t4211/sha1/expect.two-ranges [moved from t/t4211/expect.two-ranges with 100% similarity]
t/t4211/sha1/expect.vanishes-early [moved from t/t4211/expect.vanishes-early with 100% similarity]

index 83191637441437b1c0b086e9417087940a221162..63a3bf28a57644721885163fa1eb8c2b5feec88d 100755 (executable)
@@ -11,7 +11,7 @@ test_expect_success 'setup (import history)' '
 canned_test_1 () {
        test_expect_$1 "$2" "
                git log $2 >actual &&
-               test_cmp \"\$TEST_DIRECTORY\"/t4211/expect.$3 actual
+               test_cmp \"\$TEST_DIRECTORY\"/t4211/sha1/expect.$3 actual
        "
 }