summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2023-03-14 08:05:57 -0500
committerTony Asleson <tasleson@redhat.com>2023-03-14 09:36:38 -0500
commit0c73d3545b2c964cea7e74cc022d2bc599ce7739 (patch)
treebee7bee5a0b10ba50981552a31b5fc2b9306d762 /test
parentbaf99ff974b408c59dd4f51db6e006d659c061e7 (diff)
downloadlvm2-0c73d3545b2c964cea7e74cc022d2bc599ce7739.tar.gz
lvmdbustest: Correct env. logic
Signed-off-by: Tony Asleson <tasleson@redhat.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/dbus/lvmdbustest.py4
1 files 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)