All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - tests: use PWD for dbus testing
Date: Mon, 13 Feb 2023 13:31:38 +0000 (GMT)	[thread overview]
Message-ID: <20230213133138.5EBBD3858436@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8630a19d1e37e2f7e532c75ec26b7d1b071f1f8d
Commit:        8630a19d1e37e2f7e532c75ec26b7d1b071f1f8d
Parent:        7ea62f640cbe41b981c56ee334d6924da3bb3c0a
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Mon Feb 13 14:29:38 2023 +0100
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Feb 13 14:30:43 2023 +0100

tests: use PWD for dbus testing

lvmdbusd ATM is leaking too many log files.
At least try to keep them removed with test failure.
---
 test/api/dbustest.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/api/dbustest.sh b/test/api/dbustest.sh
index f4c9c9c2a..d69c0e89c 100644
--- a/test/api/dbustest.sh
+++ b/test/api/dbustest.sh
@@ -31,6 +31,8 @@ aux extend_filter_LVMTEST
 # output
 aux prepare_profiles "lvmdbusd"
 
+# Keep generating test file within test dir
+export TMPDIR=$PWD
 aux prepare_lvmdbusd
 
 # Example for testing individual test:


                 reply	other threads:[~2023-02-13 13:31 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=20230213133138.5EBBD3858436@sourceware.org \
    --to=zkabelac@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.