Merge branch 'ab/bsd-fixes'
authorJunio C Hamano <gitster@pobox.com>
Sat, 23 Feb 2019 05:20:19 +0000 (21:20 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Feb 2019 05:20:19 +0000 (21:20 -0800)
Test portability fix.

* ab/bsd-fixes:
commit-graph tests: fix unportable "dd" invocation
tests: fix unportable "\?" and "\+" regex syntax

t/t1300-config.sh
index 9652b241c7cf182a4b26cac5f474183bd166ceaa..428177c390dbe726c2aa9df4eb9c6f9d54766049 100755 (executable)
@@ -892,6 +892,7 @@ test_expect_success 'get --expiry-date' '
        1510348087
        0
        EOF
+       : "work around heredoc parsing bug fixed in dash 0.5.7 (in ec2c84d)" &&
        {
                echo "$rel_out $(git config --expiry-date date.valid1)"
                git config --expiry-date date.valid2 &&