git: 21d163f8a101 - stable/13 - Fix test case header function name

Li-Wen Hsu lwhsu at FreeBSD.org
Thu Jun 10 15:24:05 UTC 2021


The branch stable/13 has been updated by lwhsu:

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

commit 21d163f8a1013278ecdded77abf6c0dfda554a46
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-10 15:22:24 +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
    
    (cherry picked from commit 847b7d505490ae407a5c876e14e7788a4add7737)
---
 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-all mailing list