[conduit/syncml: 28/244] Run syncml server twice because it sucks...
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/syncml: 28/244] Run syncml server twice because it sucks...
- Date: Thu, 21 May 2009 05:51:08 -0400 (EDT)
commit ec572ce26379389cf0bf2425c288e4c4f3298b03
Author: John Carr <john carr unrouted co uk>
Date: Wed Apr 15 06:48:40 2009 -0700
Run syncml server twice because it sucks...
---
test/python-tests/TestSyncSyncmlEvents.py | 2 +-
test/python-tests/syncml-server.sh | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/test/python-tests/TestSyncSyncmlEvents.py b/test/python-tests/TestSyncSyncmlEvents.py
index 0452e2e..de0a30e 100644
--- a/test/python-tests/TestSyncSyncmlEvents.py
+++ b/test/python-tests/TestSyncSyncmlEvents.py
@@ -3,7 +3,7 @@ import signal
import os
import time
-server = subprocess.Popen(["syncml-ds-tool", "--sync", "text/x-vcalendar", "Calendar", "calendar", "--http-server", "1234"])
+server = subprocess.Popen(["./syncml-server.sh", "text/x-vcalendar", "Calendar", "calendar"], cwd="test/python-tests")
# no way to tell syncml-ds-tool is running :(
time.sleep(1)
diff --git a/test/python-tests/syncml-server.sh b/test/python-tests/syncml-server.sh
new file mode 100755
index 0000000..c9cfcdb
--- /dev/null
+++ b/test/python-tests/syncml-server.sh
@@ -0,0 +1,3 @@
+#! /bin/sh
+syncml-ds-tool --http-server 1234 --sync $1 $2 $3
+syncml-ds-tool --http-server 1234 --sync $1 $2 $3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]