t6018: flesh out empty input/output rev-list tests
authorJeff King <peff@peff.net>
Wed, 2 Aug 2017 22:24:51 +0000 (18:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Aug 2017 22:45:19 +0000 (15:45 -0700)
commit0c5dc7431a01d325e815ce722d80ad549a41e632
tree50e8e31765fa62aa25c5f34837971f8f961330f7
parent384a8b271c076693d00c97184b5c41ab3a95e64d
t6018: flesh out empty input/output rev-list tests

In 751a2ac6e (rev-list --exclude: tests, 2013-11-01), we
added a few tests for handling "empty" inputs with rev-list
(i.e., where the user gave us some pattern but it turned out
not to queue any objects for traversal), all of which were
marked as failing.

In preparation for working on this area of the code, let's
give each test a more descriptive name. Let's also include
one more case which we should cover: feeding a --glob
pattern that doesn't match anything.

We can also drop the explanatory comment; we'll be
converting these to expect_success in the next few patches,
so the discussion isn't necessary.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6018-rev-list-glob.sh