1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmdbustest.py: Make env variable work

This commit is contained in:
Tony Asleson 2016-09-26 21:52:08 -05:00
parent 1bc546269a
commit ec076b1df2

View File

@ -1294,7 +1294,8 @@ if __name__ == '__main__':
# Default to no lvm shell
set_execution(False)
if test_shell == 0:
if int(test_shell) == 0:
print('\n Shortened fork & exec test ***\n')
unittest.main(exit=True)
else:
print('\n *** Testing fork & exec *** \n')