Allow out-of-source test runs

The test can now be run outside of the test source directory. Since the
`test_dir` global variable contains the absolute path to the test source,
all copying of configurations and execution of scripts can be done with
minimal changes.
This commit is contained in:
Markus Mäkelä
2018-05-09 10:54:52 +03:00
parent 00581e7f35
commit ed2d0f4a5b
5 changed files with 38 additions and 36 deletions

View File

@ -88,7 +88,6 @@ TestConnections::TestConnections(int argc, char *argv[]):
#ifdef SIGBUS
signal_set(SIGBUS, sigfatal_handler);
#endif
chdir(test_dir);
gettimeofday(&start_time, NULL);
read_env();