All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Asleson <tasleson@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - lvmdbustest: Add more output for test_log_file_option
Date: Fri,  3 Mar 2023 18:03:27 +0000 (GMT)	[thread overview]
Message-ID: <20230303180327.74C0C3858D37@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=50e6efafb92367beacc0ee85afcb1279163d601d
Commit:        50e6efafb92367beacc0ee85afcb1279163d601d
Parent:        80f6655956273b84ec2301dae7c6454ca62d124c
Author:        Tony Asleson <tasleson@redhat.com>
AuthorDate:    Wed Mar 1 15:52:23 2023 -0600
Committer:     Tony Asleson <tasleson@redhat.com>
CommitterDate: Wed Mar 1 15:52:23 2023 -0600

lvmdbustest: Add more output for test_log_file_option

---
 test/dbus/lvmdbustest.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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)


                 reply	other threads:[~2023-03-03 18:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230303180327.74C0C3858D37@sourceware.org \
    --to=tasleson@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.