t4211: retire soon-to-be unimplementable tests
commit449f5c751c22a12de48c273395540a42460795eb
authorEric Sunshine <sunshine@sunshineco.com>
Wed, 31 Jul 2013 08:15:40 +0000 (31 04:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Aug 2013 18:54:31 +0000 (5 11:54 -0700)
treea156f16a32b24132a02783e29c916a25e7539305
parent25fb8ee4450b3366bf1e9536a5585341d35b7b20
t4211: retire soon-to-be unimplementable tests

58960978 and 99780b0a added tests which demonstrated bugs (crashes) in
range-set and line-log when handed empty ranges specified via "log
-LX:file" where X is one greater than the last line of the file.  After
these tests were added, it was realized that the ability to specify an
empty range is a loophole due to a bug in -L bounds checking. That bug
is slated to be fixed in a subsequent patch.

Unfortunately, the closure of this loophole makes it impossible to
continue checking range-set and line-log behavior with regard to empty
ranges since there is no other way to specify empty ranges via the
command-line.  APIs of both facilities are private (file static) so
there likewise is no way to test their behaviors programmatically.
Consequently, retire these two tests.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4211-line-log.sh