test_jump_label.sh 373 字节
Newer Older
J
Jason Baron 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh
# Runs jump label kernel module tests

if /sbin/modprobe -q test_jump_label_base; then
	if /sbin/modprobe -q test_jump_label; then
		echo "jump_label: ok"
		/sbin/modprobe -q -r test_jump_label
		/sbin/modprobe -q -r test_jump_label_base
	else
		echo "jump_label: [FAIL]"
		/sbin/modprobe -q -r test_jump_label_base
	fi
else
	echo "jump_label: [FAIL]"
	exit 1
fi