|
@@ -80,7 +80,10 @@ class RemoteRepository(object):
|
|
|
self.unpacker = msgpack.Unpacker(use_list=False)
|
|
|
self.msgid = 0
|
|
|
self.received_msgid = 0
|
|
|
- args = ['ssh', '-p', str(location.port), '%s@%s' % (location.user or getpass.getuser(), location.host), 'darc', 'serve']
|
|
|
+ if location.host == '__testsuite__':
|
|
|
+ args = [sys.executable, '-m', 'darc.archiver', 'serve']
|
|
|
+ else:
|
|
|
+ args = ['ssh', '-p', str(location.port), '%s@%s' % (location.user or getpass.getuser(), location.host), 'darc', 'serve']
|
|
|
self.p = Popen(args, bufsize=0, stdin=PIPE, stdout=PIPE)
|
|
|
self.stdin_fd = self.p.stdin.fileno()
|
|
|
self.stdout_fd = self.p.stdout.fileno()
|