]> git.pond.sub.org Git - empserver/blob - tests/fairland-test
tests: Define and use some abbreviations
[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 exec 3>sandbox/fairland.out
15
16 $files -f >&3
17 $fairland -s sandbox/newcap_script -R 1 10 30 >&3
18
19 exec 3>&-
20
21 $empdump -x >sandbox/final.xdump
22
23 cmp_out fairland.out final.xdump newcap_script