]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: mark chrt tests as root-only
authorKarel Zak <kzak@redhat.com>
Mon, 11 Jul 2016 09:12:47 +0000 (11:12 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Jul 2016 09:12:47 +0000 (11:12 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/schedutils/chrt

index 38c87f9f0524b0dfc45700cf25dd2c3e4c93085b..203d06a9bec1b43a17622f82b069c8117a360b59 100755 (executable)
@@ -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