Skip to content

Commit

Permalink
* tst-eintr2.c (do_test): make sure that if mutex_lock in main
Browse files Browse the repository at this point in the history
	thread returns the program exits with an error code.
  • Loading branch information
Ulrich Drepper committed Jan 15, 2008
1 parent ebca8f7 commit eaf95a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2008-01-15 Ulrich Drepper <drepper@redhat.com>

* tst-eintr2.c (do_test): make sure that if mutex_lock in main
thread returns the program exits with an error code.

2008-01-10 Ulrich Drepper <drepper@redhat.com>

* pthread-errnos.sym: Add EOVERFLOW.
Expand Down
4 changes: 2 additions & 2 deletions nptl/tst-eintr2.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2003 Free Software Foundation, Inc.
/* Copyright (C) 2003, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
Expand Down Expand Up @@ -109,7 +109,7 @@ do_test (void)
printf ("main: mutex_lock returned: %s\n",
strerror_r (e, buf, sizeof (buf)));

return 0;
return 1;
}

#define EXPECTED_SIGNAL SIGALRM
Expand Down

0 comments on commit eaf95a2

Please sign in to comment.