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

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

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

rm -rf "$home"
exit "$failed"