]> git.ipfire.org Git - thirdparty/git.git/blame - t/t1450-fsck.sh
fsck: HEAD is part of refs
[thirdparty/git.git] / t / t1450-fsck.sh
CommitLineData
469e2ebf
JH
1#!/bin/sh
2
3test_description='git fsck random collection of tests'
4
5. ./test-lib.sh
6
7test_expect_success setup '
8 test_commit A fileA one &&
9 git checkout HEAD^0 &&
10 test_commit B fileB two &&
11 git tag -d A B &&
12 git reflog expire --expire=now --all
13'
14
15test_expect_success 'HEAD is part of refs' '
16 test 0 = $(git fsck | wc -l)
17'
18
19test_done