vg_regtest: test-specific environment variables not reset between tests
commit208f2d96069574e7a75cb3f8e53adb216e4795b9
authorMark Wielaard <mark@klomp.org>
Thu, 11 Feb 2021 17:29:52 +0000 (11 18:29 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 11 Feb 2021 17:41:11 +0000 (11 18:41 +0100)
tree38922c6750e96c62a4694c6291449e3e0da22f11
parentc9781cc97e719c1ecf0cfad9ca2f86631c017268
vg_regtest: test-specific environment variables not reset between tests

Test-specific environment variables set in .vgtest files are not reset
between tests. This can result in tests running with environment variables
intended for a previously run test. This can be easily fixed by clearing
the @env and @envB arrays in tests/vg_regtest:read_vgtest_file()

Original patch by Aaron Merey <amerey@redhat.com>

https://bugs.kde.org/show_bug.cgi?id=432672
NEWS
tests/vg_regtest.in