summaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/tst-basic-error.sh
blob: 8abc42ebccf3e4bd4f9527fc80d31bc736d19240 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test_run() {
    test_basic_setup
    test_run_cgitize --verbose
    test_basic_verify_commits \
        'committing 1.txt' \
        'committing 2.txt'

    # Add new commits
    test_basic_make_commit
    test_basic_make_commit

    rm -rf -- "$test_repo_dir"

    # Must fail to pick up new commits
    test_run_cgitize --verbose || true
    test_basic_verify_commits \
        'committing 1.txt' \
        'committing 2.txt'

    test_verify_error_header
}