summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2023-03-09 11:22:51 -0600
committerTony Asleson <tasleson@redhat.com>2023-03-10 12:51:53 -0600
commit70a5ebc052e7873761c04679ed8e57cd5f20e91a (patch)
tree2a3ccf1516fa1bf3bed9ed652e6080feda47bc2c
parent1949afa24b10991408cff362084cdc881f499535 (diff)
downloadlvm2-70a5ebc052e7873761c04679ed8e57cd5f20e91a.tar.gz
lvmdbustest: open log file with "a"
So we retain the log across fork & exec and lvm shell testing.
-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 454b80171..00653d67f 100755
--- a/test/dbus/lvm_error_inject.py
+++ b/test/dbus/lvm_error_inject.py
@@ -36,7 +36,7 @@ def rs(length, character_set=CS):
RS = rs(512)
-d_out = open("/tmp/mitm_lvm.txt", "w+")
+d_out = open("/tmp/mitm_lvm.txt", "a")
def debug(msg):