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)