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:
@ -41,9 +41,9 @@ void test_script_monitor(TestConnections* Test, Mariadb_nodes* nodes, char* expe
|
||||
Test->set_timeout(200);
|
||||
Test->maxscales->ssh_node_f(0,
|
||||
true,
|
||||
"cd %s;"
|
||||
"truncate -s 0 script_output;"
|
||||
"chown maxscale:maxscale script_output",
|
||||
"cd %s; truncate -s 0 script_output; \
|
||||
chown maxscale:maxscale script_output; \
|
||||
chmod a+rw script_output",
|
||||
Test->maxscales->access_homedir[0]);
|
||||
sleep(10);
|
||||
|
||||
|
Reference in New Issue
Block a user