events
news
The Linux Foundation
 
 
LSB DTK Manager Profile Syntax

From The Linux Foundation

Profile is a way to pass parameters to the DTK Manager from a file. Example:

# ./lsb-tef.pl -f '<profile-filename>' all

Basic profile syntaxis is "PARAMETER: value" pairs. In this example certification tests for LSB 3.1 Desktop will be run and results will be uploaded to the remote host.

LSB_VERSION: 3.1
CERTIFY: 1
UPLOAD: user@host:/var/opt/lsb/test/manager/results
SSH_PASSWORD: password
VERBOSE_LEVEL: 2
USE_INTERNET: 1
COMMENTS: This is
COMMENTS: an example.

Here is the full list of parameter names. In brackets are specified the command line options having the same effect. For some parameters allowed values are listed.

NAME
ORGANIZATION
EMAIL
SEND_EMAIL (-m, --mail-to)
VERBOSE_LEVEL (-v): 0, 1, 2.
ARCHITECTURE (-p, --platform)
USE_INTERNET (-D, --download): 1/0
BETA (-B, --beta): 1/0
COMMENTS (--comment): use several comment parameters for multi-line comment (as in example).
SHORT_SCENARIOS (--short): 1/0
LSB_VERSION (--lsb): '3.0', '3.1', 'snapshot'
CERTIFY (--cert): 1/0
PACKAGE_DIR (-d, --package-dir)
RESULTS_DIR (-r, --results-dir)
OUTPUT_FILE_NAME (-o, --output)
PLATFORM (-p, --platform)
PACKAGE_MANAGER (--pm): 'RPM', 'dpkg'
LSB_PROFILE (-T): 'core' (default is 'core,desktop')
UPLOAD (--upload)
FTP (--ftp)
SSH_PASSWORD (--ssh-password)
FORCE_REINSTALL (--force-reinstall)
FORCE_DOWNLOAD (--force-dl)

All cramp lines are silently ignored.


[Article] [Discussion] [Edit] [History]