From: Karel Zak Date: Mon, 11 Jul 2016 09:12:47 +0000 (+0200) Subject: tests: mark chrt tests as root-only X-Git-Tag: v2.29-rc1~162 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77604e87f3830f17164a512412b0e0eae332277c;p=thirdparty%2Futil-linux.git tests: mark chrt tests as root-only Signed-off-by: Karel Zak --- diff --git a/tests/ts/schedutils/chrt b/tests/ts/schedutils/chrt index 38c87f9f05..203d06a9be 100755 --- a/tests/ts/schedutils/chrt +++ b/tests/ts/schedutils/chrt @@ -20,6 +20,7 @@ TS_DESC="chrt" ts_init "$*" ts_check_test_command "$TS_CMD_CHRT" +ts_skip_nonroot function do_chrt { $TS_CMD_CHRT $* $TS_CMD_CHRT --pid 0 | sed 's/.* policy: //; s/.* priority: //' &>> $TS_OUTPUT