blob: babcfcde83ea59a772fbe7e2dee3285c7ab892f0 (
plain) (
tree)
|
|
#!/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"
|