mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 20:25:09 +07:00
3aefd1febd
Test for test_printf module fails always because the test program, printf.sh, has no execution permission. This commit adds execution permission to it. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
11 lines
203 B
Bash
Executable File
11 lines
203 B
Bash
Executable File
#!/bin/sh
|
|
# Runs printf infrastructure using test_printf kernel module
|
|
|
|
if /sbin/modprobe -q test_printf; then
|
|
/sbin/modprobe -q -r test_printf
|
|
echo "printf: ok"
|
|
else
|
|
echo "printf: [FAIL]"
|
|
exit 1
|
|
fi
|