summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2016-09-26 21:52:08 -0500
committerTony Asleson <tasleson@redhat.com>2016-09-27 13:28:45 -0500
commitec076b1df239dff91377a6e19ea76a4047b04b32 (patch)
tree449f757348641cf2787dc36346e224c0671822dd
parent1bc546269a7d2cae156827e282715410a4967d51 (diff)
downloadlvm2-ec076b1df239dff91377a6e19ea76a4047b04b32.tar.gz
lvmdbustest.py: Make env variable work
-rwxr-xr-xtest/dbus/lvmdbustest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py
index 31902c4c2..7a2c44f0d 100755
--- a/test/dbus/lvmdbustest.py
+++ b/test/dbus/lvmdbustest.py
@@ -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')