blob: babcfcde83ea59a772fbe7e2dee3285c7ab892f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
. "${TEST_INIT:-./test-init.sh}"
dir=$(mktemp -d)
cd "$dir"
(unset -v HOME XDG_DATA_HOME XDG_CONFIG_HOME; "$CALCURSE" -a)
[ -f "$dir/.calcurse/apts" ] && [ -f "$dir/.calcurse/conf" ] && failed=0 || failed=1
rm -rf "$dir"
exit "$failed"
|