staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / tools / testing / selftests / safesetid / safesetid-test.sh
blobe4fdce675c54155e65ba9aa57dc56cdbf8bd3290
1 #!/bin/bash
3 TCID="safesetid-test.sh"
4 errcode=0
6 # Kselftest framework requirement - SKIP code is 4.
7 ksft_skip=4
9 check_root()
11 uid=$(id -u)
12 if [ $uid -ne 0 ]; then
13 echo $TCID: must be run as root >&2
14 exit $ksft_skip
18 main_function()
20 check_root
21 ./safesetid-test
24 main_function
25 echo "$TCID: done"
26 exit $errcode