diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/dbus/lvmdbustest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py index b7224df96..e1c994e90 100755 --- a/test/dbus/lvmdbustest.py +++ b/test/dbus/lvmdbustest.py @@ -2347,6 +2347,9 @@ 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'") + di = DaemonInfo.get() self.assertTrue(di is not None) if di: |