Split test kernel modules to a separate script.

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
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-09-16 09:09:37 +01:00
parent 72d18a72b2
commit b2238daee3
5 changed files with 33 additions and 9 deletions

2
test
View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -eu
./bench-boot -t "${1:-1}"
./run -F '/test_all.sh;/poweroff.out' | grep -q lkmc_test_pass
./test-kernel-modules