aboutsummaryrefslogtreecommitdiffstats
path: root/test/io-002.sh
blob: fadd222f1fa374a1b0d552cb21eaade8d9604cc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

. "${TEST_INIT:-./test-init.sh}"
data=$(mktemp -d)
conf=$(mktemp -d)

"$CALCURSE" -a -D "$data" -C "$conf"
[ -f "$data/apts" ] && [ -f "$conf/conf" ] && failed=0 || failed=1

rm -rf "$data" "$conf"
exit "$failed"