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

@ -21,5 +21,9 @@ void copy_rules(TestConnections* Test, const char* rules_name, const char* rules
Test->set_timeout(30);
Test->maxscales->copy_to_node_legacy(src.str().c_str(), dest.str().c_str(), 0);
Test->maxscales->ssh_node_f(0,
true,
"chmod a+r %s",
dest.str().c_str());
Test->stop_timeout();
}