check that shell directive command is string or list
ClosedPublic

Authored by lbrabec on Jul 26 2016, 7:22 AM.

Details

Summary

Some shell commands (e.g. false) can be interpreted in yaml as value of different
type than string, this diff makes sure that command is list or string.

Test Plan

pytest, command false in shell directive

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lbrabec retitled this revision from to check that shell directive command is string or list.Jul 26 2016, 7:22 AM
lbrabec updated this object.
lbrabec edited the test plan for this revision. (Show Details)
lbrabec added a reviewer: kparal.
lbrabec updated this revision to Diff 2426.Jul 26 2016, 8:07 AM
  • polishing, moar tests
kparal commandeered this revision.Jul 26 2016, 8:44 AM
kparal edited reviewers, added: lbrabec; removed: kparal.

I improved the test suite a bit.

kparal updated this revision to Diff 2427.Jul 26 2016, 8:44 AM

improved unit tests

kparal updated this revision to Diff 2428.Jul 26 2016, 8:46 AM

try one more time, this time with full history

lbrabec commandeered this revision.Jul 26 2016, 8:48 AM
lbrabec edited reviewers, added: kparal; removed: lbrabec.

stealing back

kparal accepted this revision.Jul 26 2016, 8:49 AM
This revision is now accepted and ready to land.Jul 26 2016, 8:49 AM
Closed by commit rLTRNfd753bc2baff: check that shell directive command is string or list (authored by kparal, committed by Lukas Brabec <lbrabec@redhat.com>). · Explain WhyJul 26 2016, 8:52 AM
This revision was automatically updated to reflect the committed changes.