summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/chdir-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/testing/chdir-wrapper')
-rwxr-xr-xrdiff-backup/testing/chdir-wrapper9
1 files changed, 6 insertions, 3 deletions
diff --git a/rdiff-backup/testing/chdir-wrapper b/rdiff-backup/testing/chdir-wrapper
index 413fcf2..073b297 100755
--- a/rdiff-backup/testing/chdir-wrapper
+++ b/rdiff-backup/testing/chdir-wrapper
@@ -7,9 +7,12 @@ the server. Otherwise will start the server without a chdir.
"""
-execfile("commontest.py")
-rbexec("setconnections.py")
+import os, sys
+
+#execfile("commontest.py")
+#rbexec("setconnections.py")
if len(sys.argv) > 1: os.chdir(sys.argv[1])
-PipeConnection(sys.stdin, sys.stdout).Server()
+#PipeConnection(sys.stdin, sys.stdout).Server()
+os.system("/home/ben/prog/python/rdiff-backup/src/rdiff-backup --server")