Print more information in tst-getcpu failure case.

This commit is contained in:
Roland McGrath 2015-06-24 13:56:46 -07:00
parent bd0a60f9a7
commit 010186901d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-06-24 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
return value is wrong, print the expected value too.
2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18585]

View File

@ -43,7 +43,7 @@ do_test (void)
}
if (cpu2 != cpu)
{
printf ("getcpu results %d not possible\n", cpu2);
printf ("getcpu results %d should be %d\n", cpu2, cpu);
result = 1;
}
}