diff options
author | Tony Asleson <tasleson@redhat.com> | 2023-03-01 15:52:23 -0600 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2023-03-01 15:52:23 -0600 |
commit | 50e6efafb92367beacc0ee85afcb1279163d601d (patch) | |
tree | b9ec681c1d2d9b3526450e159a1c337c7a811c16 | |
parent | 80f6655956273b84ec2301dae7c6454ca62d124c (diff) | |
download | lvm2-50e6efafb92367beacc0ee85afcb1279163d601d.tar.gz |
lvmdbustest: Add more output for test_log_file_option
-rwxr-xr-x | test/dbus/lvmdbustest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py index b98332d65..8d70b4477 100755 --- a/test/dbus/lvmdbustest.py +++ b/test/dbus/lvmdbustest.py @@ -2307,7 +2307,9 @@ class TestDbusService(unittest.TestCase): option_str = "log { level=7 file=%s syslog=0 }" % fn options["config"] = dbus.String(option_str) self._vg_create(None, None, options) - self.assertTrue(os.path.exists(fn)) + self.assertTrue(os.path.exists(fn), + "We passed the following options %s to lvm while creating a VG and the " + "log file we expected to exist (%s) was not found" % (option_str, fn)) finally: if os.path.exists(fn): os.unlink(fn) |