Skip to contentSkip to conversation

master - lvmdbustest.py: Make env variable work

PATCH tasleson 1 participant 1 message Sep 27, 2016

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ec076b1df239dff91377a6e19ea76a4047b04b32
Commit:        ec076b1df239dff91377a6e19ea76a4047b04b32
Parent:        1bc546269a7d2cae156827e282715410a4967d51
Author:        Tony Asleson <[email protected]>
AuthorDate:    Mon Sep 26 21:52:08 2016 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Tue Sep 27 13:28:45 2016 -0500

lvmdbustest.py: Make env variable work

---
 test/dbus/lvmdbustest.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
test/dbus/lvmdbustest.py +2 -1
index 31902c4..7a2c44f 100755
@@ -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')