Debian Codegraph @

debian/patches/disable_sched_test

raw symbols SCIP
1 Description: Disable ps sched test
2 Disables the command to test the class of scheduler used in ps -o cls
3 For some reason, some Debian buildds fail on this test, however running
4 the command in the environment works, chalk it down to buildd oddness
5 and move along.
6 Author: Craig Small <[email protected]>
7 Origin: Debian
8 Bug-Debian: https://bugs.debian.org/798438
9 Forwarded: no
10 Last-Update: 2024-10-15
11 ---
12 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
13 --- a/testsuite/ps.test/ps_sched_batch.exp
14 +++ b/testsuite/ps.test/ps_sched_batch.exp
15 @@ -1,13 +1,14 @@
16 #
17 # check the ps SCHED_BATCH scheduler policy output
18 #
19 -set ps "${topdir}src/ps/pscommand"
20 -
21 -set nice_val 18
22 -make_schedbatch_proc $nice_val
23 -
24 -set test "ps SCHED_BATCH scheduler"
25 -spawn $ps --no-header -o comm,cls,nice -ax
26 -expect_pass "$test" "(?n)^test-schedbatch\\s+B\\s+$nice_val\\r?\$"
27 -
28 -kill_schedbatch_proc
29 +#set ps "${topdir}src/ps/pscommand"
30 +#
31 +#set nice_val 18
32 +#make_schedbatch_proc $nice_val
33 +#
34 +#set test "ps SCHED_BATCH scheduler"
35 +#spawn $ps --no-header -o comm,cls,nice -ax
36 +#expect_pass "$test" "(?n)^test-schedbatch\\s+B\\s+$nice_val\\r?\$"
37 +#
38 +#kill_schedbatch_proc
39 +untested "ps SCHED_BATCH scheduler"