summaryrefslogtreecommitdiff
path: root/Userland/Shell/Tests/test-commons.inc
blob: 90ac058d1e15e6533b464777c1dc81863ef55660 (plain)
1
2
3
4
5
6
7
8
9
10
11
fail() {
    # The AST ends up at stderr, and CI checks for 'fail' (uppercase)
    # Trick it into not failing the test.
    echo "FA""IL:" $*
    exit 1
}

pass() {
    echo "PA""SS"
    exit 0
}