Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2017 20:50:54 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320173 - head/bin/ln/tests
Message-ID:  <201706202050.v5KKosB6035724@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Jun 20 20:50:54 2017
New Revision: 320173
URL: https://svnweb.freebsd.org/changeset/base/320173

Log:
  Don't expect :sF_flag to fail anymore
  
  While here, also add a check to verify that the link target
  is updated in the testcase
  
  MFC after:	1 month
  MFC with:	r320172
  PR:		219943
  Differential Revision:	D11167
  Submitted by:	shivansh
  Sponsored by:	Google (GSoC 2017)

Modified:
  head/bin/ln/tests/ln_test.sh

Modified: head/bin/ln/tests/ln_test.sh
==============================================================================
--- head/bin/ln/tests/ln_test.sh	Tue Jun 20 20:46:08 2017	(r320172)
+++ head/bin/ln/tests/ln_test.sh	Tue Jun 20 20:50:54 2017	(r320173)
@@ -160,10 +160,10 @@ sF_flag_head()
 
 sF_flag_body()
 {
-	atf_expect_fail "B isn't being unlinked (bug 219943)"
 	atf_check mkdir A B
 	atf_check ln -sF A B
 	atf_check -o inline:'Symbolic Link\n' stat -f %SHT B
+	atf_check -o inline:'A\n' readlink B
 }
 
 atf_test_case sf_flag



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