lib/sles4sap_publiccloud_basetest.pm

DESCRIPTION

Basetest class for SLES for SAP Applications tests in Public Cloud.

cleanup

$self->cleanup(%args)

Cleanup method intended to be called at the end of tests or in post_fail_hook. Mostly a wrapper around sles4sap_publiccloud::sles4sap_cleanup which will:

Unless any of these has been executed previously.

import_context

$self->import_context(%run_args)

Import into $self the class instances context passed via %run_args, and record the information in the test results.

set_cli_ssh_opts

$self->set_cli_ssh_opts();
$self->set_cli_ssh_opts('');
$self->set_cli_ssh_opts("-4 -o LogLevel=ERROR -E $logfile");

Set command line SSH options in the instance stored in $self->{my_instance}. It takes as an argument a string with the options in a manner that would be understood by ssh, and if no argument is provided, uses the following defaults:

Note: if the method receives an empty string, no SSH options will be set.