Skip to content

Commit

Permalink
Merge pull request #5055 from nanli1/fix_incorrect_log_attr
Browse files Browse the repository at this point in the history
fix get correct log attr
  • Loading branch information
dzhengfy authored Jul 26, 2023
2 parents 6bad85f + 3a25553 commit 33cab96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvirt/tests/cfg/chardev/log/chardev_with_log_file.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
variants console_type:
- pty:
chardev_type = "pty"
device_dict = "{'type_name':'${chardev_type}','log_file': {'file': '${log_file}', 'append':'off'}}"
device_dict = "{'type_name':'${chardev_type}','log': {'file': '${log_file}', 'append':'off'}}"
- unix:
chardev_type = 'unix'
source_mode = "bind"
source_path = "/tmp/foo"
access_cmd = "socat stdin unix-connect:${source_path}"
device_dict = "{'type_name':'${chardev_type}','log_file': {'file': '${log_file}', 'append':'off'}, 'sources': [{'attrs': {'path': '${source_path}', 'mode':'${source_mode}'}}]}"
device_dict = "{'type_name':'${chardev_type}','log': {'file': '${log_file}', 'append':'off'}, 'sources': [{'attrs': {'path': '${source_path}', 'mode':'${source_mode}'}}]}"

0 comments on commit 33cab96

Please sign in to comment.