mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-06 17:39:01 +01:00
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 <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
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
|