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
 
@@ -121,25 +121,25 @@ class LibcommuniServerModeSingleServerConf(BaseTest):
 
	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):
0 comments (0 inline, 0 general)