t9300: replace '!' with test_must_fail

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna 2008-08-16 17:17:42 +02:00 committed by Junio C Hamano
parent a0d74d160f
commit 20a55f4b2e

View File

@ -1045,7 +1045,7 @@ DATA
INPUT_END
test_expect_success 'P: fail on inline gitlink' '
! git-fast-import <input'
test_must_fail git-fast-import <input'
test_tick
cat >input <<INPUT_END
@ -1068,6 +1068,6 @@ M 160000 :1 sub
INPUT_END
test_expect_success 'P: fail on blob mark in gitlink' '
! git-fast-import <input'
test_must_fail git-fast-import <input'
test_done