summaryrefslogtreecommitdiff
path: root/tests/test_calendar-cli.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_calendar-cli.sh')
-rwxr-xr-xtests/test_calendar-cli.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/test_calendar-cli.sh b/tests/test_calendar-cli.sh
index e99546f..1010bae 100755
--- a/tests/test_calendar-cli.sh
+++ b/tests/test_calendar-cli.sh
@@ -17,7 +17,6 @@ if [ -n "$radicale_pid" ]
then
echo "## Radicale now running on pid $radicale_pid"
calendar_cli="../calendar-cli.py --caldav-url=http://localhost:5232/ --caldav-pass=password1 --caldav-user=testuser --calendar-url=/testuser/calendar-cli-test-calendar"
- kal="../cal.py --caldav-password=password1 --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
@@ -25,13 +24,11 @@ then
## the calendar is created. Without the statement above, I'll
## just get 404 when running tests.
export calendar_cli
- export kal
if [ -n "$DEBUG" ]
then
echo "press enter to run tests"
read foo
fi
- ./tests_kal.sh
./tests.sh
if [ -n "$DEBUG" ]
then
@@ -60,11 +57,8 @@ 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_kal.sh
- #./tests.sh
+ ./tests.sh
kill $xandikos_pid
else
echo "## Could not start up xandikos (is it installed?). Will skip running tests towards xandikos"