Changeset - fd7683b6bd0b
[Not reviewed]
0 1 0
Vitaly Takmazov - 8 years ago 2018-01-17 15:23:24
vitalyster@gmail.com
tests: ngircd is in /usr/sbin
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
tests/start.py
Show inline comments
 
@@ -115,37 +115,37 @@ class BaseTest:
 

	
 
class LibcommuniServerModeSingleServerConf(BaseTest):
 
	def __init__(self):
 
		BaseTest.__init__(self, "../libcommuni/irc_test.cfg", True, "#channel@localhost")
 
		self.directory = "../libcommuni/"
 

	
 
	def skip_test(self, test):
 
		if test in ["muc_join_nickname_used.py"]:
 
			return True
 
		return False
 

	
 
	def pre_test(self):
 
		os.system("ngircd -f ../libcommuni/ngircd.conf &")
 
		os.system("/usr/sbin/ngircd -f ../libcommuni/ngircd.conf &")
 

	
 
	def post_test(self):
 
		os.system("killall ngircd 2>/dev/null")
 
		os.system("killall spectrum2_libcommuni_backend 2>/dev/null")
 

	
 
class LibcommuniServerModeConf(BaseTest):
 
	def __init__(self):
 
		BaseTest.__init__(self, "../libcommuni/irc_test2.cfg", True, "#channel%localhost@localhost")
 
		self.directory = "../libcommuni/"
 

	
 
	def pre_test(self):
 
		os.system("ngircd -f ../libcommuni/ngircd.conf &")
 
		os.system("/usr/sbin/ngircd -f ../libcommuni/ngircd.conf &")
 

	
 
	def post_test(self):
 
		os.system("killall ngircd 2>/dev/null")
 
		os.system("killall spectrum2_libcommuni_backend 2>/dev/null")
 

	
 
class JabberServerModeConf(BaseTest):
 
	def __init__(self):
 
		BaseTest.__init__(self, "../libpurple_jabber/jabber_test.cfg", True, "room%conference.localhost@localhostxmpp")
 
		self.directory = "../libpurple_jabber/"
 
		self.client_jid = "client%localhost@localhostxmpp"
 
		self.responder_jid = "responder%localhost@localhostxmpp"
 

	
0 comments (0 inline, 0 general)