summaryrefslogtreecommitdiffstats
path: root/tests/bsd/exit.sh
blob: 524a75f2bbb1b295f8aae32ea43cc66812f582a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
invoke_bfs basic -name foo -exit 42
if [ $? -ne 42 ]; then
    return 1
fi

invoke_bfs basic -name qux -exit 42
if [ $? -ne 0 ]; then
    return 1
fi

bfs_diff basic/g -print -name g -exit