Bug 621809 - Tests parameters
Summary: Tests parameters
Alias: None
Product: Beaker
Classification: Community
Component: beah
Version: 0.7
Hardware: All
OS: Linux
medium vote
Target Milestone: ---
Assignee: Marian Csontos
QA Contact:
Depends On: 621814
TreeView+ depends on / blocked
Reported: 2010-08-06 07:35 UTC by Izidor Matušov
Modified: 2010-08-06 08:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-08-06 08:24:02 UTC

Attachments (Terms of Use)

Description Izidor Matušov 2010-08-06 07:35:31 UTC
Description of problem:
There is a difference between RHTS and beaker in the usage of test parameters. In RHTS your parameter gets extra prefix TEST_PARAM_, however, there is no prefix in beaker. It means VAR will be TEST_PARAM_VAR in RHTS, but VAR in beaker. Some tests may have problems with running.

I would also appreciate if the test parameters for /distribution/reservesys are accessible through shell,e.g. put them into /etc/profile.

How reproducible:
Run whatever test with test parameter:

bkr workflow-simple --taskparam=VAR=something --task=/whatever

Comment 1 Marian Csontos 2010-08-06 07:58:32 UTC
The TEST_PARAM_ prefix was discussed in Bug 603719: some parameters are using TEST_PARAM_ prefix and some do not. Does it explain everything?

Bug 621814 should solve the script with environment variables you asked for.

Comment 2 Izidor Matušov 2010-08-06 08:24:02 UTC
I am sorry for redundant bug. Thanks for the quick response.

Comment 3 Marian Csontos 2010-08-06 08:43:28 UTC
No problem. It happens...

Note You need to log in before you can comment on or make changes to this bug.