This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.21-529-g0101869
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Jun 2015 20:57:27 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-529-g0101869
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 010186901d16060a5d1178cc0f2f59199228b99a (commit)
from bd0a60f9a74cc4d81eb42a5d1281ae3bd6fee047 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=010186901d16060a5d1178cc0f2f59199228b99a
commit 010186901d16060a5d1178cc0f2f59199228b99a
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Jun 24 13:56:46 2015 -0700
Print more information in tst-getcpu failure case.
diff --git a/ChangeLog b/ChangeLog
index bad1333..d1bd19e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/tst-getcpu.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources