]> xenbits.xensource.com Git - osstest.git/commit
ts-livepatch-run: Fix erroneous $$ in double-check
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 16 Jan 2019 11:32:06 +0000 (11:32 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 16 Jan 2019 11:36:11 +0000 (11:36 +0000)
commit11a1dc4792d4ace204c6359ff3b741fae98e0754
tree39557ae5c82dcf8106ffb675c5761dd393cd1e8d
parent76cd902b115318886cbb848ad4d7ee0cec39b396
ts-livepatch-run: Fix erroneous $$ in double-check

The doubled $s here are simply a mistake.  The result is to make this
test ineffective, since `$$file' means `the value of the variable
whose name is in the variable $file', which here will never exist.
This produces a `Use of uninitialized value' warning and substitutes
the empty string, so overall we test the existence of the directory.

The missing check is not of much consequence since this check is not
really expected ever to fail, and if it does, some actual test
execution would fail due to the missing file.

So overall I think the only change is to log output.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
ts-livepatch-run