Fix non_native_setup
The arguments must be passed as-is to the TestConnections constructor.
This commit is contained in:
@ -26,10 +26,7 @@ int main(int argc, char *argv[])
|
|||||||
std::string(" ") +
|
std::string(" ") +
|
||||||
std::string(argv[1]);
|
std::string(argv[1]);
|
||||||
|
|
||||||
int local_argc = argc - 1;
|
TestConnections test(argc, argv);
|
||||||
char** local_argv = &argv[1];
|
|
||||||
|
|
||||||
TestConnections test(local_argc, local_argv);
|
|
||||||
sleep(3);
|
sleep(3);
|
||||||
setenv("src_dir", test_dir, 1);
|
setenv("src_dir", test_dir, 1);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user