main - lvmdbustest: Correct env. logic

Tony Asleson <[email protected]>
Newsgroups gmane.linux.lvm.devel
Message-ID <[email protected]>
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=0c73d3545b2c964cea7e74cc022d2bc599ce7739
Commit:        0c73d3545b2c964cea7e74cc022d2bc599ce7739
Parent:        baf99ff974b408c59dd4f51db6e006d659c061e7
Author:        Tony Asleson <[email protected]>
AuthorDate:    Tue Mar 14 08:05:57 2023 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Tue Mar 14 09:36:38 2023 -0500

lvmdbustest: Correct env. logic

Signed-off-by: Tony Asleson <[email protected]>
---
 test/dbus/lvmdbustest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py
index 00d9303b6..8f95757eb 100755
--- a/test/dbus/lvmdbustest.py
+++ b/test/dbus/lvmdbustest.py
@@ -2347,8 +2347,8 @@ class TestDbusService(unittest.TestCase):
 
 	def test_z_sigint(self):
 		# Issue SIGINT while daemon is processing work to ensure we shut down.
-		if not bool(int(os.getenv("LVM_DBUSD_TEST_SKIP_SIGNAL", "0"))):
-			raise unittest.SkipTest("Skipping as env. LVM_DBUSD_TEST_SKIP_SIGNAL is '0'")
+		if bool(int(os.getenv("LVM_DBUSD_TEST_SKIP_SIGNAL", "0"))):
+			raise unittest.SkipTest("Skipping as env. LVM_DBUSD_TEST_SKIP_SIGNAL is '1'")
 
 		di = DaemonInfo.get()
 		self.assertTrue(di is not None)

--
lvm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/lvm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.