]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9011-svn-da.sh
vcs-svn: read instructions from deltas
[thirdparty/git.git] / t / t9011-svn-da.sh
index 26a4a3694a8f322e579d7a3678d13e61b077e317..d9acd0c8a61f519bf99eaa4d8856ace56cefca96 100755 (executable)
@@ -133,4 +133,9 @@ test_expect_success 'reject truncated inline data' '
        test_must_fail test-svn-fe -d preimage inline.trunc 10
 '
 
+test_expect_success 'reject truncated inline data (after instruction section)' '
+       printf "SVNQ%b%b%s" "QQ\001\001\003" "\0201" "b" | q_to_nul >insn.trunc &&
+       test_must_fail test-svn-fe -d preimage insn.trunc 11
+'
+
 test_done