svn commit: r321208 - stable/11/usr.bin/sed/tests
Ngie Cooper
ngie at FreeBSD.org
Wed Jul 19 15:58:29 UTC 2017
Author: ngie
Date: Wed Jul 19 15:58:27 2017
New Revision: 321208
URL: https://svnweb.freebsd.org/changeset/base/321208
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/11/usr.bin/sed/tests/sed2_test.sh
- copied, changed from r312521, head/usr.bin/sed/tests/sed2_test.sh
Modified:
stable/11/usr.bin/sed/tests/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.bin/sed/tests/Makefile
==============================================================================
--- stable/11/usr.bin/sed/tests/Makefile Wed Jul 19 15:39:01 2017 (r321207)
+++ stable/11/usr.bin/sed/tests/Makefile Wed Jul 19 15:58:27 2017 (r321208)
@@ -2,6 +2,7 @@
PACKAGE= tests
+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/11/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/11/usr.bin/sed/tests/sed2_test.sh Wed Jul 19 15:58:27 2017 (r321208)
@@ -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
More information about the svn-src-all
mailing list