main - tests: use PWD for dbus testing

Zdenek Kabelac <[email protected]>
Newsgroups gmane.linux.lvm.devel
Message-ID <[email protected]>
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8630a19d1e37e2f7e532c75ec26b7d1b071f1f8d
Commit:        8630a19d1e37e2f7e532c75ec26b7d1b071f1f8d
Parent:        7ea62f640cbe41b981c56ee334d6924da3bb3c0a
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Feb 13 14:29:38 2023 +0100
Committer:     Zdenek Kabelac <[email protected]>
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:

--
lvm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/lvm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.