Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2014 05:08:19 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274573 - head/contrib/netbsd-tests/lib/libpthread
Message-ID:  <201411160508.sAG58JdG055637@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Nov 16 05:08:19 2014
New Revision: 274573
URL: https://svnweb.freebsd.org/changeset/base/274573

Log:
  Expect :pthread_detach to fail with EINVAL instead of ESRCH on FreeBSD
  
  PR: 191906
  In collaboration with: pho

Modified:
  head/contrib/netbsd-tests/lib/libpthread/t_detach.c

Modified: head/contrib/netbsd-tests/lib/libpthread/t_detach.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libpthread/t_detach.c	Sun Nov 16 05:06:35 2014	(r274572)
+++ head/contrib/netbsd-tests/lib/libpthread/t_detach.c	Sun Nov 16 05:08:19 2014	(r274573)
@@ -75,6 +75,10 @@ ATF_TC_BODY(pthread_detach, tc)
 	rv = pthread_join(t, NULL);
 	ATF_REQUIRE(rv == EINVAL);
 
+#if defined(__FreeBSD__)
+	atf_tc_expect_fail("PR # 191906: fails with EINVAL, not ESRCH");
+#endif
+
 	/*
 	 * As usual, ESRCH should follow if
 	 * we try to detach an invalid thread.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411160508.sAG58JdG055637>