mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-26 07:33:16 +03:00
test: Run the testcases chdir'd into --testdir.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user