Machine Type= Power 9/Power 8
Machine Version = SLES 15 Beta4
uname ouptut
Linux alp7 4.12.14-4.2-default #1
SMP Sun Nov 19 21:04:49 UTC 2017 (349e50c) ppc64le
ppc64le ppc64le GNU/Linux
Download
http://ufpr.dl.sourceforge.net/sourceforge/posixtest/
posixtestsuite-1.5.2.tar.gz
Go to Posixtestsuite and run make
Test fails with following error
conformance/interfaces/sched_setparam/1-1:
execution: PASS
make: *** [Makefile💯 conformance/interfaces
/sched_setparam/9-1.run-test] Terminated
make: *** [Makefile💯 conformance/interfaces
/sched_setparam/10-1.run-test] Terminated
Terminated
This is a test error. The test is calling kill with garbage as pid due to an array overflow:
void kill_children(int *child_pid){
int i;
for(i=0; i<nb_cpu; i++) {
kill(child_pid[i], SIGTERM);
}
}
This for should iterate up to nb_cpu-1 like main() does:
for(i=0; i<nb_cpu-1; i++) {
Attaching the patch..