From owner-svn-src-all@freebsd.org Thu Oct 13 08:35:10 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05EC5C0FC49; Thu, 13 Oct 2016 08:35:10 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBE06DA2; Thu, 13 Oct 2016 08:35:09 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9D8Z801042695; Thu, 13 Oct 2016 08:35:08 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9D8Z8bS042694; Thu, 13 Oct 2016 08:35:08 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201610130835.u9D8Z8bS042694@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Thu, 13 Oct 2016 08:35:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r307205 - head/contrib/netbsd-tests/fs/tmpfs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 08:35:10 -0000 Author: ngie Date: Thu Oct 13 08:35:08 2016 New Revision: 307205 URL: https://svnweb.freebsd.org/changeset/base/307205 Log: Change atf_skip call to atf_expect_fail to make it clear that a failure is expected MFC after: 2 weeks PR: 212861 Suggested by: jmmv Sponsored by: Dell EMC Isilon Modified: head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh Modified: head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh ============================================================================== --- head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh Thu Oct 13 08:27:19 2016 (r307204) +++ head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh Thu Oct 13 08:35:08 2016 (r307205) @@ -46,7 +46,18 @@ single_body() { test_unmount } +# Begin FreeBSD +if true; then +atf_test_case uchg cleanup +uchg_cleanup() { + Mount_Point=$(pwd)/mntpt test_unmount || : +} +else +# End FreeBSD atf_test_case uchg +# Begin FreeBSD +fi +# End FreeBSD uchg_head() { atf_set "descr" "Checks that files with the uchg flag set cannot" \ "be removed" @@ -54,7 +65,7 @@ uchg_head() { } uchg_body() { # Begin FreeBSD - atf_skip "this fails on FreeBSD with root - bug 212861" + atf_expect_fail "this fails on FreeBSD with root - bug 212861" # End FreeBSD test_mount