mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
test: Run the testcases chdir'd into --testdir.
This commit is contained in:
parent
efb3e7ca00
commit
2bc76bcdab
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user