mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
Notice that Python sucks and does SIGPIPE annoyances, for now work around by grepping the output file... Fix the exit status read check with 'b', it broke down occasionally with: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 1832: invalid start byte
8 lines
260 B
Bash
Executable File
8 lines
260 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
getvar="${root_dir}/getvar"
|
|
termout_file="$("$getvar" termout_file)"
|
|
./run --eval-busybox '/test_all.sh;/poweroff.out' --kvm
|
|
grep -q lkmc_test_pass "$termout_file"
|