From: Eric Sunshine Date: Tue, 23 Jul 2013 14:28:07 +0000 (-0400) Subject: t4211: demonstrate crash when first -L encountered is empty range X-Git-Tag: v1.8.4-rc0~13^2~1^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=99780b0a;p=thirdparty%2Fgit.git t4211: demonstrate crash when first -L encountered is empty range Signed-off-by: Eric Sunshine Acked-by: Thomas Rast Helped-by: SZEDER Gábor Signed-off-by: Junio C Hamano --- diff --git a/t/t4211-line-log.sh b/t/t4211-line-log.sh index 9042178124..d98efb3c4e 100755 --- a/t/t4211-line-log.sh +++ b/t/t4211-line-log.sh @@ -72,4 +72,9 @@ test_expect_failure '-L {empty-range} (any -L)' ' git log -L1,1:b.c -L$n:b.c ' +test_expect_failure '-L {empty-range} (first -L)' ' + n=$(expr $(wc -l