diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/ical-009.sh | 3 | ||||
-rwxr-xr-x | test/io-005.sh | 1 | ||||
-rwxr-xr-x | test/io-006.sh | 1 | ||||
-rw-r--r-- | test/run-test.c | 2 | ||||
-rw-r--r-- | test/test-init.sh | 5 |
5 files changed, 7 insertions, 5 deletions
diff --git a/test/ical-009.sh b/test/ical-009.sh index dbd0a30..6c1a0d4 100755 --- a/test/ical-009.sh +++ b/test/ical-009.sh @@ -18,7 +18,7 @@ if [ "$1" = 'actual' ]; then elif [ "$1" = 'expected' ]; then cat <<EOD Import process report: 0131 lines read -2 apps / 0 events / 1 todo / 21 skipped +3 apps / 0 events / 1 todo / 20 skipped VEVENT [12]: invalid or malformed event start time. VEVENT [17]: item start date not defined. VEVENT [21]: rrule frequency not supported. @@ -26,7 +26,6 @@ VEVENT [27]: malformed summary line. VTODO [32]: item priority is invalid (must be between 0 and 9). VEVENT [36]: malformed exceptions line. VEVENT [43]: exception date, but no recurrence rule. -VEVENT [49]: line break in summary. VEVENT [54]: malformed description line. VEVENT [60]: malformed description. VTODO [72]: malformed summary. diff --git a/test/io-005.sh b/test/io-005.sh index c5ebcc7..6b03908 100755 --- a/test/io-005.sh +++ b/test/io-005.sh @@ -3,7 +3,6 @@ . "${TEST_INIT:-./test-init.sh}" home=$(mktemp -d) -CALCURSE=$(readlink -f "$CALCURSE") (unset -v XDG_DATA_HOME XDG_CONFIG_HOME; HOME="$home" "$CALCURSE" -a) [ -f "$home/.local/share/calcurse/apts" ] && [ -f "$home/.config/calcurse/conf" ] && failed=0 || failed=1 diff --git a/test/io-006.sh b/test/io-006.sh index 4184d9f..babcfcd 100755 --- a/test/io-006.sh +++ b/test/io-006.sh @@ -3,7 +3,6 @@ . "${TEST_INIT:-./test-init.sh}" dir=$(mktemp -d) -CALCURSE=$(readlink -f "$CALCURSE") 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 diff --git a/test/run-test.c b/test/run-test.c index d1db112..41d55ad 100644 --- a/test/run-test.c +++ b/test/run-test.c @@ -1,7 +1,7 @@ /* * Calcurse - text-based organizer * - * Copyright (c) 2004-2020 calcurse Development Team <misc@calcurse.org> + * Copyright (c) 2004-2023 calcurse Development Team <misc@calcurse.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/test/test-init.sh b/test/test-init.sh index c95c884..92ad779 100644 --- a/test/test-init.sh +++ b/test/test-init.sh @@ -2,3 +2,8 @@ CALCURSE=${CALCURSE:-../src/calcurse} DATA_DIR=${DATA_DIR:-data/} + +case "$CALCURSE" in + /*) ;; + *) CALCURSE="${PWD}/${CALCURSE}" ;; +esac |