Fixed tests to be compatible with GCloud VMs

GCloud machines has more strict access rights settings. Derect calls of
'chmod' are needed to make all configuration files (e.g. 'fwf/rules') be
accessable by Maxscale.
This commit is contained in:
Timofey Turenko
2020-01-24 01:15:25 +02:00
parent 4641dc208f
commit 08616692a4
13 changed files with 24 additions and 6 deletions

View File

@ -177,6 +177,7 @@ int main(int argc, char* argv[])
if (test.maxscales->copy_to_node(0, from.c_str(), to.c_str()) == 0)
{
test.maxscales->ssh_node(0, (std::string("chmod a+r ") + to).c_str(), true);
if (test.maxscales->start() == 0)
{
sleep(2);