Bug 771759 - RFE to add support for handling variables in scripts parsed by tcms-submit
Summary: RFE to add support for handling variables in scripts parsed by tcms-submit
Keywords:
Status: NEW
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.0
Assignee: Yang Ren
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-04 21:14 UTC by Scott Poore
Modified: 2022-03-14 03:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Scott Poore 2012-01-04 21:14:54 UTC
Description of problem:

tcms-submit treats variables as litteral strings when parsing a test script looking for descriptions on the rlPhaseStartTest lines.

We would like to be able to use variabales in rlPhaseStartTest descriptions like this:

desc="create rule for group"
rlPhaseStartTest "ipa-automember-cli-1001: $desc"

When trying this though, it was simply translated as something like this:

/CoreOS/ipa-server/acceptance/ipa-automember-cli ipa-automember-cli-1001-desc

We would prefer this gets parsed from the script like this:

/CoreOS/ipa-server/acceptance/ipa-automember-cli ipa-automember-cli-1001-create-rule-for-group

Version-Release number of selected component (if applicable):

qa-tools-2.0-49.x86_64

How reproducible:

consistently

Steps to Reproduce:
1.  create test scripts using beaker library rlPhase* code
2.  set variable before rlPhaseStartTest line
3.  use variable in rlPhaseStartTest "description argument"
  
Actual results:

variable translated to literal string

Expected results:

variable parsed for value 

Additional info:


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