git: 847b7d505490 - main - Fix test case header function name

Li-Wen Hsu lwhsu at FreeBSD.org
Wed Jun 2 04:14:31 UTC 2021


The branch main has been updated by lwhsu:

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

commit 847b7d505490ae407a5c876e14e7788a4add7737
Author:     Math Ieu <sigsys at gmail.com>
AuthorDate: 2021-06-02 04:09:55 +0000
Commit:     Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-06-02 04:13:57 +0000

    Fix test case header function name
    
    This restores the expected behavior (skip) when running with non-root user
    
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D30584
---
 usr.sbin/jail/tests/jail_basic_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/jail/tests/jail_basic_test.sh b/usr.sbin/jail/tests/jail_basic_test.sh
index f9d52cf8a780..ba691cb9b05a 100755
--- a/usr.sbin/jail/tests/jail_basic_test.sh
+++ b/usr.sbin/jail/tests/jail_basic_test.sh
@@ -99,7 +99,7 @@ nested_cleanup()
 	jail -r basejail_nochild
 }
 
-commands_header()
+commands_head()
 {
 	atf_set descr 'Commands jail test'
 	atf_set require.user root


More information about the dev-commits-src-main mailing list