diff options
author | Tony Asleson <tasleson@redhat.com> | 2023-03-10 10:41:20 -0600 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2023-03-10 12:51:53 -0600 |
commit | 568e8c71d7e39da7494a470400d3f9977c13a1c7 (patch) | |
tree | 7865eee6cabd37f9fe5d0009228df4918f7b185b /test/dbus | |
parent | 66e79aab367621cbe76bf1e080d6f8693922ea07 (diff) | |
download | lvm2-568e8c71d7e39da7494a470400d3f9977c13a1c7.tar.gz |
lvmdbustest: Don't use hard coded /tmp for error inject log
Diffstat (limited to 'test/dbus')
-rwxr-xr-x | test/dbus/lvm_error_inject.py | 2 |
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): |