diff options
Diffstat (limited to 'tests/t0301-security.sh')
-rwxr-xr-xtests/t0301-security.sh4
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0301-security.sh b/tests/t0301-security.sh
index 3df2cee..d9ec265 100755
--- a/tests/t0301-security.sh
+++ b/tests/t0301-security.sh
@@ -452,10 +452,10 @@ test_expect_success 'a posted length past any buffer is clamped' '
test_expect_success 'the dumb transport refuses a path that climbs out' '
cveq "url=cve/objects/../config" >tmp &&
- grep "^Status: 400" tmp &&
+ grep "^Status: 404" tmp &&
! grep "repositoryformatversion" tmp &&
cveq "url=cve/objects/info/../../config" >tmp &&
- grep "^Status: 400" tmp &&
+ grep "^Status: 404" tmp &&
! grep "repositoryformatversion" tmp
'