NAME

Tapper::Installer::Base

SYNOPSIS

use Tapper::Installer::Base;

NAME

Tapper::Installer::Base - Install everything needed for a test.

FUNCTIONS

free_loop_device

Make sure /dev/loop0 is usable for losetup and kpartx.

@return success - 0 @return error - error string

cleanup

Clean a set of predefine file by deleting all of their content. This prevents confusion in certain test suites which could occur when they find old content in log files. Only warns on error.

@return success - 0

send_keep_alive_loop

Send keepalive messages to MCP in an endless loop.

@param int - sleep time between two keepalives

system_install

Install whatever has to be installed. This function is a wrapper around all other system installer functions and calls them appropriately. Note that the function will not return in case of an error. Instead it throws an exception with should be send to the server by Log4perl.

@param string - in what state are we called (autoinstall, other)

AUTHOR

AMD OSRC Tapper Team, <tapper at amd64.org>

BUGS

None.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Tapper

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.

This program is released under the following license: freebsd

AUTHORS

  • AMD OSRC Tapper Team <tapper@amd64.org>

  • Tapper Team <tapper-ops@amazon.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2022 by Advanced Micro Devices, Inc.

This is free software, licensed under:

The (two-clause) FreeBSD License