config.py testing: also test the get command

This commit is contained in:
Gilles Peskine 2019-09-13 15:17:01 +02:00 committed by Darryl Green
parent baf15df251
commit 61a90bd32d

View file

@ -147,10 +147,12 @@ def run_all(options):
for preset in presets: for preset in presets:
run_one(options, [preset]) run_one(options, [preset])
for symbol in TEST_SYMBOLS: for symbol in TEST_SYMBOLS:
run_one(options, ['get', symbol])
run_one(options, ['set', symbol]) run_one(options, ['set', symbol])
run_one(options, ['--force', 'set', symbol]) run_one(options, ['--force', 'set', symbol])
run_one(options, ['unset', symbol]) run_one(options, ['unset', symbol])
for symbol in TEST_SYMBOLS_WITH_VALUE: for symbol in TEST_SYMBOLS_WITH_VALUE:
run_one(options, ['get', symbol])
run_one(options, ['set', symbol, 'value']) run_one(options, ['set', symbol, 'value'])
run_one(options, ['--force', 'set', symbol, 'value']) run_one(options, ['--force', 'set', symbol, 'value'])
run_one(options, ['unset', symbol]) run_one(options, ['unset', symbol])