main - lvmdbustest: open log file with "a"
Tony Asleson <[email protected]>
| Newsgroups | gmane.linux.lvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=70a5ebc052e7873761c04679ed8e57cd5f20e91a Commit: 70a5ebc052e7873761c04679ed8e57cd5f20e91a Parent: 1949afa24b10991408cff362084cdc881f499535 Author: Tony Asleson <[email protected]> AuthorDate: Thu Mar 9 11:22:51 2023 -0600 Committer: Tony Asleson <[email protected]> CommitterDate: Fri Mar 10 12:51:53 2023 -0600 lvmdbustest: open log file with "a" So we retain the log across fork & exec and lvm shell testing. --- test/dbus/lvm_error_inject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- lvm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/lvm-devel