svn commit: r320173 - head/bin/ln/tests

Ngie Cooper ngie at FreeBSD.org
Tue Jun 20 20:50:55 UTC 2017


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


More information about the svn-src-all mailing list