Fix non_native_setup

The arguments must be passed as-is to the TestConnections constructor.
This commit is contained in:
Markus Mäkelä 2019-04-17 09:24:40 +03:00
parent 54cb6991d1
commit 665f0ddb89
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -26,10 +26,7 @@ int main(int argc, char* argv[])
std::string(" ") +
std::string(argv[1]);
int local_argc = argc - 1;
char** local_argv = &argv[1];
TestConnections test(local_argc, local_argv);
TestConnections test(argc, argv);
sleep(3);
setenv("src_dir", test_dir, 1);