]> git.pond.sub.org Git - empserver/blob - tests/files-test
tests: Define and use some abbreviations
[empserver] / tests / files-test
1 #!/bin/sh -e
2 # Basic files 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/files.out
15
16 $files -f >&3
17
18 exec 3>&-
19
20 $empdump -x >sandbox/final.xdump
21
22 cmp_out files.out final.xdump