From c6f7593c1db0a3f06e3f20a79c1fd888660d9acb Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Thu, 11 Jun 2020 18:14:34 +0000 Subject: [PATCH] Remove some more duplicate test cases I accidentally committed Reported by: markj, yuripv MFC after: 2 weeks X-MFC-With: 362017 --- usr.bin/sed/tests/sed2_test.sh | 36 ---------------------------------- 1 file changed, 36 deletions(-) diff --git a/usr.bin/sed/tests/sed2_test.sh b/usr.bin/sed/tests/sed2_test.sh index 3b57431bfaa8..efa04f212ad4 100755 --- a/usr.bin/sed/tests/sed2_test.sh +++ b/usr.bin/sed/tests/sed2_test.sh @@ -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