]> git.pond.sub.org Git - empserver/blob - tests/fairland-test
tests/files tests/fairland: Check stderr and exit status
[empserver] / tests / fairland-test
1 #!/bin/sh -e
2 # Basic fairland test
3
4 if [ $# -ne 1 ]
5 then echo "Usage: $0 SRCDIR" >&2; exit 1
6 fi
7
8 srcdir="$1"
9
10 . "$srcdir"/tests/test-common.sh
11
12 create_sandbox
13
14 $files -f >/dev/null
15 run_and_cmp fairland $fairland -s sandbox/newcap_script -R 1 10 30
16
17 $empdump -x >sandbox/final.xdump
18 cmp_out final.xdump newcap_script