Fix non_native_setup

The arguments must be passed as-is to the TestConnections constructor.
This commit is contained in:
Timofey Turenko
2019-05-14 10:54:32 +03:00
parent ff1959fda7
commit ffecce4153

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);