Bug 771759

Summary: RFE to add support for handling variables in scripts parsed by tcms-submit
Product: [Other] TCMS Reporter: Scott Poore <spoore>
Component: ApplicationAssignee: Yang Ren <ryang>
Status: NEW --- QA Contact: Nobody <nobody>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: junzhang, ryang, vchen
Target Milestone: ---   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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: