summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/server.py
blob: b30c745caefb7b39ec84f18fcbadc34f148323c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python

import sys
execfile("commontest.py")
rbexec("setconnections.py")

def Test_SetConnGlobals(conn, name, val):
	"""Used in unittesting - set one of specified connection's Global vars"""
	conn.Globals.set(name, val)

Log.setverbosity(9)
PipeConnection(sys.stdin, sys.stdout).Server()