Skip to content

Commit 87083e6

Browse files
GitMenschrocallahan
authored andcommitted
test adjustment: priority working under "nice", fixes #3963
`nice ctest` will run as 10, so only root could run a "nice ctest" and pass this test before - fixed by "using higher than 10"
1 parent b59071b commit 87083e6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/test/priority.run

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
source `dirname $0`/util.sh
2-
renice -n 1 $$ && record $TESTNAME
3-
renice -n 2 $$ && replay
2+
# note: we use a value that is below the regular "nice" value
3+
# of 10, allowing to run `nice ctest` as well
4+
renice -n 11 $$ && record $TESTNAME
5+
renice -n 22 $$ && replay
46
check 'EXIT-SUCCESS'

0 commit comments

Comments
 (0)