summaryrefslogtreecommitdiffstats
path: root/test/io-001.sh
blob: 77757f6162be78a5dc5ab9eac7fce4cd224c23d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

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

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

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