diff options
author | Tony Asleson <tasleson@redhat.com> | 2023-03-14 08:05:57 -0500 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2023-03-14 09:36:38 -0500 |
commit | 0c73d3545b2c964cea7e74cc022d2bc599ce7739 (patch) | |
tree | bee7bee5a0b10ba50981552a31b5fc2b9306d762 /test | |
parent | baf99ff974b408c59dd4f51db6e006d659c061e7 (diff) | |
download | lvm2-0c73d3545b2c964cea7e74cc022d2bc599ce7739.tar.gz |
lvmdbustest: Correct env. logic
Signed-off-by: Tony Asleson <tasleson@redhat.com>
Diffstat (limited to 'test')
-rwxr-xr-x | test/dbus/lvmdbustest.py | 4 |
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) |