git: cffebd1e8fed - main - Remove surplus check for which diff is being tested

From: Tom Jones <thj_at_FreeBSD.org>
Date: Fri, 18 Feb 2022 15:50:21 UTC
The branch main has been updated by thj:

URL: https://cgit.FreeBSD.org/src/commit/?id=cffebd1e8fed3fb21b98a2ad6ed910a76b20b177

commit cffebd1e8fed3fb21b98a2ad6ed910a76b20b177
Author:     Tom Jones <thj@FreeBSD.org>
AuthorDate: 2022-02-18 15:47:46 +0000
Commit:     Tom Jones <thj@FreeBSD.org>
CommitDate: 2022-02-18 15:47:46 +0000

    Remove surplus check for which diff is being tested
    
    Must have left this when I was testing the test invocation for
    8f79bd9b85716c495c2741ac25db37e8d71f22f7
    
    Pointy hat:     thj
    Sponsored by:   Klara Inc.
---
 usr.bin/diff/tests/diff_test.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/usr.bin/diff/tests/diff_test.sh b/usr.bin/diff/tests/diff_test.sh
index a024016edb10..91e43b570655 100755
--- a/usr.bin/diff/tests/diff_test.sh
+++ b/usr.bin/diff/tests/diff_test.sh
@@ -282,8 +282,6 @@ binary_body()
 
 functionname_body()
 {
-	atf_check -o empty -x "which diff"
-
 	atf_check -o file:$(atf_get_srcdir)/functionname_c.out -s exit:1 \
 		diff -u -p -L functionname.in -L functionname_c.in \
 		"$(atf_get_srcdir)/functionname.in" "$(atf_get_srcdir)/functionname_c.in"