diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-06-24 13:56:46 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-06-24 13:56:46 -0700 |
commit | 010186901d16060a5d1178cc0f2f59199228b99a (patch) | |
tree | 0f522951685c2fb2a46c1a41044fea6891f5696d | |
parent | bd0a60f9a74cc4d81eb42a5d1281ae3bd6fee047 (diff) | |
download | glibc-010186901d16060a5d1178cc0f2f59199228b99a.zip glibc-010186901d16060a5d1178cc0f2f59199228b99a.tar.gz glibc-010186901d16060a5d1178cc0f2f59199228b99a.tar.bz2 |
Print more information in tst-getcpu failure case.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-getcpu.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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] diff --git a/sysdeps/unix/sysv/linux/tst-getcpu.c b/sysdeps/unix/sysv/linux/tst-getcpu.c index 77baebc..d9c05a7 100644 --- a/sysdeps/unix/sysv/linux/tst-getcpu.c +++ b/sysdeps/unix/sysv/linux/tst-getcpu.c @@ -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; } } |