diff options
author | Tobias Brox <tobias@redpill-linpro.com> | 2022-04-18 10:07:34 +0200 |
---|---|---|
committer | Tobias Brox <tobias@redpill-linpro.com> | 2022-04-18 10:07:34 +0200 |
commit | 36fbbe2654d2f73a7583d9538787fd807b781b0e (patch) | |
tree | a58a786ddc4575c6c948e2f2f1cc343435d18462 /tests/test_calendar-cli.sh | |
parent | 4111bcda1bd37df518153273fc5c8add3b684134 (diff) | |
download | calendar-cli-36fbbe2654d2f73a7583d9538787fd807b781b0e.zip |
Work in progress on new cli
(I was working on this several months ago - then I got interrupted, forgot to commit, never got time to look back)
Diffstat (limited to 'tests/test_calendar-cli.sh')
-rwxr-xr-x | tests/test_calendar-cli.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test_calendar-cli.sh b/tests/test_calendar-cli.sh index d1400e2..b3b3920 100755 --- a/tests/test_calendar-cli.sh +++ b/tests/test_calendar-cli.sh @@ -11,8 +11,8 @@ 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.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" + 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 @@ -21,7 +21,11 @@ then ## just get 404 when running tests. export calendar_cli export kal + echo "press enter to run tests" + read foo ./tests.sh + echo "press enter to take down test server" + read foo kill $radicale_pid sleep 0.3 else |