Author: ngie
Date: Wed Jul 19 15:59:51 2017
New Revision: 321209
URL: https://svnweb.freebsd.org/changeset/base/321209

Log:
  MFC r312521,r313397:
  
  r312521:
  
  Add testcases for -i with hardlinks and symlinks
  
  The symlink testcase is expected to fail, post-r312519 (the revert of
  r312404); mark it so.
  
  r313397:
  
  Don't expect :inplace_symlink_src to fail anymore (post-r313277)
  
  The S_ISREG check was restored, such that the code will again fail with
  in-place replacements on symlinks

Added:
  stable/10/usr.bin/sed/tests/sed2_test.sh
     - copied, changed from r312521, head/usr.bin/sed/tests/sed2_test.sh
Modified:
  stable/10/usr.bin/sed/tests/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/sed/tests/Makefile
==============================================================================
--- stable/10/usr.bin/sed/tests/Makefile        Wed Jul 19 15:58:27 2017        
(r321208)
+++ stable/10/usr.bin/sed/tests/Makefile        Wed Jul 19 15:59:51 2017        
(r321209)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+ATF_TESTS_SH+= sed2_test
 NETBSD_ATF_TESTS_SH+=  sed_test
 TAP_TESTS_SH=  legacy_test
 TAP_TESTS_SH+= multi_test

Copied and modified: stable/10/usr.bin/sed/tests/sed2_test.sh (from r312521, 
head/usr.bin/sed/tests/sed2_test.sh)
==============================================================================
--- head/usr.bin/sed/tests/sed2_test.sh Fri Jan 20 07:11:21 2017        
(r312521, copy source)
+++ stable/10/usr.bin/sed/tests/sed2_test.sh    Wed Jul 19 15:59:51 2017        
(r321209)
@@ -47,8 +47,6 @@ inplace_symlink_src_head()
 }
 inplace_symlink_src_body()
 {
-       atf_expect_fail "Check for S_IFREG reverted in r312404"
-
        echo foo > a
        atf_check ln -s a b
        atf_check -e not-empty -s not-exit:0 sed -i '' -e 's,foo,bar,g' b
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to