events
news
The Linux Foundation
 
 
LSB DTK Manager Command Line Options

From The Linux Foundation

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, --beta Use beta packages if available.
--cleanup Just 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, --download Automatically download needed test packages.
-h, --help Print 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-only Do some checks without installing and running any tests.
--not-run Install tests but do not run them.
-f, --profile Take 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.
--short Use truncated scenarios for some tests (for debug and demonstration purposes).
--cert Get 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>/dir FTP server with test packages (ftp.linux-foundation.org/pub/lsb by default).
--force-reinstall Always reinstall packages.
--force-dl Always 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.

[Article] [Discussion] [View source] [History]