diff --git a/maxscale-system-test/mxs421_events.cpp b/maxscale-system-test/mxs421_events.cpp index 9cd64429c..ef118a707 100644 --- a/maxscale-system-test/mxs421_events.cpp +++ b/maxscale-system-test/mxs421_events.cpp @@ -73,6 +73,13 @@ int main(int argc, char* argv[]) srandom(time(NULL)); TestConnections test(argc, argv); + int rc = test.maxscales->ssh_node_f(0, true, "test -f /var/log/auth.log"); + + if (rc != 0) + { + test.tprintf("Skipping test, `/var/log/auth.log` does not exist."); + return 0; + } test.maxscales->connect();