Bug 747013 - internal variable value not quoted
Summary: internal variable value not quoted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.5
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-18 15:09 UTC by Martin Cermak
Modified: 2019-05-22 13:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 00:16:13 UTC


Attachments (Terms of Use)

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


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