LSB DTK Manager Command Line Options

Usage:

/opt/lsb/test/manager/autotest-ext/lsb-tef.pl [OPTION]... TESTNAME...

Runs one or more of LSB tests and produces a HTML report.

Options:

-B, --betaUse beta packages if available.
--cleanupJust uninstall test packages and exit. Test names should be specified. Use 'all' to purge all tests.
-d, --package-dir <dir>Directory for test packages.
-r, --results-dir <dir>Directory for results.
-D, --downloadAutomatically download needed test packages.
-h, --helpPrint this help and exit.
-m, --mail-to <e-mail>Send the results to the e-mail address given.
-o, --output <filename>Output file name ('.tar.gz' will be appended). It is '<arch>-<hostname>-<date/time>' by default.
-p, --platform <platorm>Assume specified host platform.
-pm <packet manager>Specify the proper package manager: "RPM" or "dpkg". (Case sensitive.)
-v[0-2]Verbose level:
  • -v0 - only errors output,
  • -v1 - default output,
  • -v2 - extra output (for debug purposes).
--check-onlyDo some checks without installing and running any tests.
--not-runInstall tests but do not run them.
-f, --profileTake the options from the profile. You can read about profile syntax here: LSB DTK Manager Profile Syntax.
--lsb=<LSB_VERSION>LSB version to test against.
--shortUse truncated scenarios for some tests (for debug and demonstration purposes).
--certGet through the certification process.
-T, -Tcore,c++This option is used to run tests against "Core and C++" profile (i.e. all "Desktop" tests will be omitted). It is supported starting from LSB version 3.1 update 1 and has no effect for earlier versions. '-Tcore,c++,desktop' is default, it gives the same result as no -T.

Since version 1.2 of DTK Manager:

--comment '<some text>'Comments on run. If several comments provided, they are joined.
--ftp <ftp-server>/dirFTP server with test packages (ftp.linux-foundation.org/pub/lsb by default).
--force-reinstallAlways reinstall packages.
--force-dlAlways download packages owerwriting the old ones.
--upload <user@host:/dir>Upload results to the '/dir' on the 'host' via ssh. '/dir' and the file HISTORY in this dir should be writable for 'user'. If the SSH password is not specified, it's asked at the start.
--ssh-password <password>Password to use for uploading to remote host. Note that this way is very INSECURE: anyone can see the password using the 'ps aux' command. The password could also be passed using the SSH_PASSWORD environment variable, or be taken from a file like 'cat PASSFILE | ./lsb-tef.pl ...'. Also you can specify the password in a profile (see the -f option). Choose the way you believe to be secure enough.

 

0