blob: 7e94e4c415f4e53adf68604be8287a82c6168e06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -e
[[ -e kbench9000.ko ]]
echo "[+] Inserting module to run tests"
stamp="$(date +%s)"
insmod kbench9000.ko stamp="$stamp"
echo "[+] Gathering results"
dmesg | sed -n "s/.*kbench9000: $stamp: \\(.*\\)/\\x1b[37m\\x1b[44m\\x1b[1m\\1\\x1b[0m/p"
|