Bug 747013

Summary: internal variable value not quoted
Product: [Retired] Beaker Reporter: Martin Cermak <mcermak>
Component: schedulerAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 0.5CC: bpeck, dcallagh, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-15 00:16:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Cermak 2011-10-18 15:09:19 UTC
Description of problem:

If the TESTVERSION variable value, as defined in a beaker test, contains a space, then, in beaker the /usr/bin/rhts-db-submit-result call is wrong:

For example if TESTVERSION='/CoreOS/yp-tools/Regression/yppasswd-hashing-algorithms v4'

Then on the beaker machine we get a call lilke this:

/usr/bin/rhts-db-submit-result --testname=Setup --result=PASS --log=/tmp/beakerlib-3318890/journal.txt --server=127.0.0.1:7096 --testversion=/CoreOS/yp-tools/Regression/yppasswd-hashing-algorithms v4 --dmesg=/mnt/testarea/dmesg.log --testid=3318890

The value should be quoted. This probably applies also to other 'internal' variables than just TESTVERSION.

Comment 1 Bill Peck 2011-10-18 15:29:42 UTC
fix pushed to gerrit