master - test: Run the testcases chdir'd into --testdir.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2bc76bcdabe76876c59f9fec61292240993974bc Commit: 2bc76bcdabe76876c59f9fec61292240993974bc Parent: efb3e7ca007f57c7627ef47e084d2f03cdc906f3 Author: Petr Rockai <[email protected]> AuthorDate: Fri Jun 27 01:23:14 2014 +0200 Committer: Petr Rockai <[email protected]> CommitterDate: Thu Feb 5 13:47:18 2015 +0100
test: Run the testcases chdir'd into --testdir.
--- test/lib/runner.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
test/lib/runner.cpp +1 -0
@@ -270,6 +270,7 @@ struct TestCase { exit(201); } else if (pid == 0) { io.close(); + chdir( options.testdir.c_str() ); setenv("LVM_TEST_FLAVOUR", flavour.c_str(), 1); child.exec(); } else {