]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9011-svn-da.sh
vcs-svn: verify that deltas consume all inline data
[thirdparty/git.git] / t / t9011-svn-da.sh
index ba8ce052aa05606290d8b23c101c9e0dacc9d318..72691b9379b623ad999030a1c401992a1d6a8cb9 100755 (executable)
@@ -121,11 +121,10 @@ test_expect_success 'preimage view: reject truncated preimage' '
        test_must_fail test-svn-fe -d preimage clear.longread 9
 '
 
-test_expect_success 'inline data' '
+test_expect_success 'forbid unconsumed inline data' '
        printf "SVNQ%b%s%b%s" "QQQQ\003" "bar" "QQQQ\001" "x" |
                q_to_nul >inline.clear &&
-       test-svn-fe -d preimage inline.clear 18 >actual &&
-       test_cmp empty actual
+       test_must_fail test-svn-fe -d preimage inline.clear 18 >actual
 '
 
 test_expect_success 'reject truncated inline data' '