From owner-svn-src-all@freebsd.org Thu Jun 11 18:14:34 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CCCC433CEDD; Thu, 11 Jun 2020 18:14:34 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49jX7Z56d1z4CLV; Thu, 11 Jun 2020 18:14:34 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AABEA1C2FF; Thu, 11 Jun 2020 18:14:34 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05BIEY7J059691; Thu, 11 Jun 2020 18:14:34 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05BIEYK2059690; Thu, 11 Jun 2020 18:14:34 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202006111814.05BIEYK2059690@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Thu, 11 Jun 2020 18:14:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362071 - head/usr.bin/sed/tests X-SVN-Group: head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: head/usr.bin/sed/tests X-SVN-Commit-Revision: 362071 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 18:14:34 -0000 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