diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh
index 1fc06c5a2..c6bc0a607 100755
--- a/t/t9300-fast-import.sh
+++ b/t/t9300-fast-import.sh
@@ -1045,7 +1045,7 @@ DATA
INPUT_END
test_expect_success 'P: fail on inline gitlink' '
- ! git-fast-import input <