diff options
author | Karel Zak | 2016-07-11 11:12:47 +0200 |
---|---|---|
committer | Karel Zak | 2016-07-11 11:12:47 +0200 |
commit | 77604e87f3830f17164a512412b0e0eae332277c (patch) | |
tree | fde92bd39616e4d13afced39565a367947c4862f /tests/ts/schedutils | |
parent | tests: implement ts_skip_subtest (diff) | |
download | kernel-qcow2-util-linux-77604e87f3830f17164a512412b0e0eae332277c.tar.gz kernel-qcow2-util-linux-77604e87f3830f17164a512412b0e0eae332277c.tar.xz kernel-qcow2-util-linux-77604e87f3830f17164a512412b0e0eae332277c.zip |
tests: mark chrt tests as root-only
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/schedutils')
-rwxr-xr-x | tests/ts/schedutils/chrt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ts/schedutils/chrt b/tests/ts/schedutils/chrt index 38c87f9f0..203d06a9b 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 |