Revision 3af4c8d7 Test/janus_instance_test.c

View differences:

Test/janus_instance_test.c
110 110

  
111 111
int main(int argv, char ** argc)
112 112
{
113
	sprintf(janus_conf, "janus_executable=%s/../Tools/janus/bin/janus", dirname(argc[0]));
113
	char wdir[200];
114
	strncpy(wdir, dirname(argc[0]), 200);
115
	sprintf(janus_conf, "janus_executable=%s/../Tools/janus/bin/janus,janus_param=--configs-folder=%s/../Tools/janus_conf", wdir, wdir);
114 116

  
115 117
	janus_instance_create_test();
116 118
	janus_instance_launch_test();

Also available in: Unified diff