Commit | Line | Data |
---|---|---|
579e1acb JB |
1 | #!/bin/sh |
2 | # Runs jump label kernel module tests | |
3 | ||
4 | if /sbin/modprobe -q test_jump_label_base; then | |
5 | if /sbin/modprobe -q test_jump_label; then | |
6 | echo "jump_label: ok" | |
7 | /sbin/modprobe -q -r test_jump_label | |
8 | /sbin/modprobe -q -r test_jump_label_base | |
9 | else | |
10 | echo "jump_label: [FAIL]" | |
11 | /sbin/modprobe -q -r test_jump_label_base | |
12 | fi | |
13 | else | |
14 | echo "jump_label: [FAIL]" | |
15 | exit 1 | |
16 | fi |