diff options
author | Tony Asleson <tasleson@redhat.com> | 2023-03-09 11:23:47 -0600 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2023-03-10 12:51:53 -0600 |
commit | 2359023009db40112f4220899f0983684d897765 (patch) | |
tree | 1c63cf251db5f2b5adb62e555e3078e469cf848e /test | |
parent | 70a5ebc052e7873761c04679ed8e57cd5f20e91a (diff) | |
download | lvm2-2359023009db40112f4220899f0983684d897765.tar.gz |
lvmdbustest: Correctly set up env. for error injection
Diffstat (limited to 'test')
-rwxr-xr-x | test/dbus/lvm_error_inject.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dbus/lvm_error_inject.py b/test/dbus/lvm_error_inject.py index 00653d67f..d87286740 100755 --- a/test/dbus/lvm_error_inject.py +++ b/test/dbus/lvm_error_inject.py @@ -183,6 +183,8 @@ class LvmShellHandler: env = copy.deepcopy(os.environ) env["LVM_REPORT_FD"] = "%s" % str(passed_report_fd) + env["LC_ALL"] = "C" + env["LVM_COMMAND_PROFILE"] = "lvmdbusd" self.parent_stdin_fd, child_stdin_fd = pty.openpty() self.parent_stdout_fd, child_stdout_fd = pty.openpty() |