summaryrefslogtreecommitdiff
path: root/tests/test_calendar-cli.sh
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2022-01-02 01:28:53 +0100
committerTobias Brox <tobias@redpill-linpro.com>2022-01-02 01:28:53 +0100
commit1a2b0fcceb9427c652d4abfa872626684906ad5a (patch)
treec9212ef4540e9851faaf559cf6574e4b67513764 /tests/test_calendar-cli.sh
parent46f66948473dc0b0ef98525e03bdf73d43992b1d (diff)
downloadcalendar-cli-1a2b0fcceb9427c652d4abfa872626684906ad5a.zip
kal: milestone, ics data can be added to the calendar
Diffstat (limited to 'tests/test_calendar-cli.sh')
-rwxr-xr-xtests/test_calendar-cli.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_calendar-cli.sh b/tests/test_calendar-cli.sh
index 6d22973..c2eae03 100755
--- a/tests/test_calendar-cli.sh
+++ b/tests/test_calendar-cli.sh
@@ -11,7 +11,7 @@ radicale_pid=$(jobs -l | perl -ne '/^\[\d+\]\+\s+(\d+)\s+Running/ && print $1')
if [ -n "$radicale_pid" ]
then
echo "## Radicale now running on pid $radicale_pid"
- calendar_cli="../calendar-cli --caldav-url=http://localhost:5232/ --caldav-user=testuser --calendar-url=/testuser/calendar-cli-test-calendar"
+ calendar_cli="../calendar-cli.py --caldav-url=http://localhost:5232/ --caldav-user=testuser --calendar-url=/testuser/calendar-cli-test-calendar"
kal="../cal.py --caldav-url=http://localhost:5232/ --caldav-user=testuser --calendar-url=/testuser/calendar-cli-test-calendar"
echo "## Creating a calendar"
$calendar_cli calendar create calendar-cli-test-calendar
@@ -20,7 +20,9 @@ then
## the calendar is created. Without the statement above, I'll
## just get 404 when running tests.
export calendar_cli
+ export kal
./tests.sh
+ sleep 600
kill $radicale_pid
sleep 0.3
else
@@ -43,7 +45,9 @@ if [ -n "$xandikos_pid" ]
then
echo "## Xandikos now running on pid $xandikos_pid"
calendar_cli="../calendar-cli --caldav-url=http://localhost:8080/ --caldav-user=user"
+ kal="../cal.py --caldav-url=http://localhost:8080/ --caldav-user=user"
export calendar_cli
+ export kal
./tests.sh
kill $xandikos_pid
else