svn commit: r362071 - head/usr.bin/sed/tests
Mateusz Piotrowski
0mp at FreeBSD.org
Thu Jun 11 18:14:34 UTC 2020
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
More information about the svn-src-head
mailing list