Date: Wed, 19 Jul 2017 15:59:51 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r321209 - stable/10/usr.bin/sed/tests Message-ID: <201707191559.v6JFxpNL007001@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707191559.v6JFxpNL007001>