1
0
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:
Petr Rockai 2014-06-27 01:23:14 +02:00
parent efb3e7ca00
commit 2bc76bcdab

View File

@ -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 {