Signed-off-by: Masatake YAMATO <yamato@redhat.com>
. $TS_TOPDIR/functions.sh
ts_init "$*"
+ts_skip_nonroot
ts_check_test_command "$TS_CMD_LSFD"
ts_check_prog "ps"
-ts_skip_nonroot
-
[ "$(ps --no-headers -o comm 1)" = 'systemd' ] || ts_skip "pid 1 is not systemd"
[ "$(ps --no-headers -o comm 2)" = 'kthreadd' ] || ts_skip "pid 2 is not kthreadd"
. $TS_TOPDIR/functions.sh
ts_init "$*"
+ts_skip_nonroot
ts_check_test_command "$TS_CMD_LSFD"
ts_check_test_command "$TS_HELPER_MKFDS"
ts_cd "$TS_OUTDIR"
-ts_skip_nonroot
-
[ "$(ps --no-headers -o comm 1)" = 'systemd' ] || ts_skip "pid 1 is not systemd"
PID=