summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2023-03-10 10:41:20 -0600
committerTony Asleson <tasleson@redhat.com>2023-03-10 12:51:53 -0600
commit568e8c71d7e39da7494a470400d3f9977c13a1c7 (patch)
tree7865eee6cabd37f9fe5d0009228df4918f7b185b /test
parent66e79aab367621cbe76bf1e080d6f8693922ea07 (diff)
downloadlvm2-568e8c71d7e39da7494a470400d3f9977c13a1c7.tar.gz
lvmdbustest: Don't use hard coded /tmp for error inject log
Diffstat (limited to 'test')
-rwxr-xr-xtest/dbus/lvm_error_inject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dbus/lvm_error_inject.py b/test/dbus/lvm_error_inject.py
index d00b79b05..2849dd29c 100755
--- a/test/dbus/lvm_error_inject.py
+++ b/test/dbus/lvm_error_inject.py
@@ -42,7 +42,7 @@ def rs(length, character_set=CS):
RS = rs(512)
-d_out = open("/tmp/mitm_lvm.txt", "a")
+d_out = open(os.path.join(tempfile.gettempdir(), "mitm_lvm.txt"), "a")
def debug(msg):