diff options
author | John Snow <jsnow@redhat.com> | 2018-12-21 04:35:23 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2019-01-14 10:09:46 -0600 |
commit | 58ebcb65d8e38fd693bf1e58dd941a4d7a8dfdef (patch) | |
tree | 39a5c1d91842e1febb3dfd43071cdfdc207effb9 /tests/vm/Makefile.include | |
parent | 0e2b7f09837f1e2828d428af1e4ebb61e3b3ea5f (diff) |
iotests.py: don't abort if IMGKEYSECRET is undefined
Instead of using os.environ[], use .get with a default of empty string
to match the setup in check to allow us to import the iotests module
(for debugging, say) without needing a crafted environment just to
import the module.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20181221093529.23855-6-jsnow@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/vm/Makefile.include')
0 files changed, 0 insertions, 0 deletions