tests: correct "does reflog exist?" tests
commit6e6842e36f8c6c12ae0ddd7db98cd900b25bb8dc
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Jul 2010 19:47:48 +0000 (21 12:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Jul 2010 19:54:48 +0000 (21 12:54 -0700)
tree1051969ab2b08d04431f2c44fd89b8f8479c5415
parentb1edaf669d483e983f1849ce804baa178387e9a9
tests: correct "does reflog exist?" tests

These two tests weren't about how "git reflog show <branch>" exits when
there is no reflog, but were about "checkout" and "branch" create or not
create reflog when creating a new <branch>.  Update the tests to check
what we are interested in, using "git rev-parse --verify".

Also lose tests based on "test -f .git/logs/refs/heads/<branch>" from
nearby, to avoid exposing this particular implementation detail
unnecessarily.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2017-checkout-orphan.sh
t/t3200-branch.sh