Date: Thu, 11 Jun 2020 18:14:34 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362071 - head/usr.bin/sed/tests Message-ID: <202006111814.05BIEYK2059690@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp (doc,ports committer) Date: Thu Jun 11 18:14:34 2020 New Revision: 362071 URL: https://svnweb.freebsd.org/changeset/base/362071 Log: Remove some more duplicate test cases I accidentally committed Reported by: markj, yuripv MFC after: 2 weeks X-MFC-With: 362017 Modified: head/usr.bin/sed/tests/sed2_test.sh Modified: head/usr.bin/sed/tests/sed2_test.sh ============================================================================== --- head/usr.bin/sed/tests/sed2_test.sh Thu Jun 11 17:42:19 2020 (r362070) +++ head/usr.bin/sed/tests/sed2_test.sh Thu Jun 11 18:14:34 2020 (r362071) @@ -134,42 +134,6 @@ commands_on_stdin_body() atf_check -o 'empty' sed -f - < insert_x } -atf_test_case commands_on_stdin -commands_on_stdin_head() -{ - atf_set "descr" "Verify -f -" -} -commands_on_stdin_body() -{ - printf "a\n" > a - printf "s/a/b/\n" > a_to_b - printf "s/b/c/\n" > b_to_c - printf "s/c/d/\n" > ./- - atf_check -o 'inline:d\n' sed -f a_to_b -f - -f ./- a < b_to_c - - # Verify that nothing is printed if there are no input files provided. - printf 'i\\\nx' > insert_x - atf_check -o 'empty' sed -f - < insert_x -} - -atf_test_case commands_on_stdin -commands_on_stdin_head() -{ - atf_set "descr" "Verify -f -" -} -commands_on_stdin_body() -{ - printf "a\n" > a - printf "s/a/b/\n" > a_to_b - printf "s/b/c/\n" > b_to_c - printf "s/c/d/\n" > ./- - atf_check -o 'inline:d\n' sed -f a_to_b -f - -f ./- a < b_to_c - - # Verify that nothing is printed if there are no input files provided. - printf 'i\\\nx' > insert_x - atf_check -o 'empty' sed -f - < insert_x -} - atf_init_test_cases() { atf_add_test_case inplace_command_q
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006111814.05BIEYK2059690>