diff options
Diffstat (limited to 'rdiff-backup/testing/connectiontest.py')
-rw-r--r-- | rdiff-backup/testing/connectiontest.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rdiff-backup/testing/connectiontest.py b/rdiff-backup/testing/connectiontest.py index bcd98ea..dfac612 100644 --- a/rdiff-backup/testing/connectiontest.py +++ b/rdiff-backup/testing/connectiontest.py @@ -89,7 +89,7 @@ class PipeConnectionTest(unittest.TestCase): def setUp(self): """Must start a server for this""" - stdin, stdout = os.popen2("./server.py") + stdin, stdout = os.popen2("python ./server.py "+SourceDir) self.conn = PipeConnection(stdout, stdin) #self.conn.Log.setverbosity(9) #Log.setverbosity(9) @@ -161,8 +161,10 @@ class RedirectedConnectionTest(unittest.TestCase): def setUp(self): """Must start two servers for this""" #Log.setverbosity(9) - self.conna = SetConnections.init_connection("./server.py") - self.connb = SetConnections.init_connection("./server.py") + self.conna = SetConnections.init_connection("python ./server.py " + + SourceDir) + self.connb = SetConnections.init_connection("python ./server.py " + + SourceDir) def testBasic(self): """Test basic operations with redirection""" |