Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fake_kern_error()
boot_secs=$(awk '{ print $1 }' < /proc/uptime)
kern_log_prefix="$d $(hostname) kernel: [$boot_secs]"

printf '<0>%s >/dev/kmsg' "$k_msg" | sudo tee -a /dev/kmsg >/dev/null
printf '<0>%s >/dev/kmsg\n' "$k_msg" | sudo tee -a /dev/kmsg >/dev/null

# From https://www.kernel.org/doc/Documentation/ABI/testing/dev-kmsg
# It is not possible to inject to /dev/kmesg with the facility
Expand Down