Bug 621809 - Tests parameters
Tests parameters
Status: CLOSED NOTABUG
Product: Beaker
Classification: Community
Component: beah (Show other bugs)
0.7
All Linux
low Severity medium (vote)
: ---
: ---
Assigned To: Marian Csontos
:
Depends On: 621814
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-06 03:35 EDT by Izidor Matušov
Modified: 2010-08-06 04:43 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-06 04:24:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Izidor Matušov 2010-08-06 03:35:31 EDT
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 03:58:32 EDT
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 04:24:02 EDT
I am sorry for redundant bug. Thanks for the quick response.
Comment 3 Marian Csontos 2010-08-06 04:43:28 EDT
No problem. It happens...

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