tests: Switch bin/hostname/hostname_test to execenv=jailKyua skips tests based on the jail execution environment if a system isbuilt WITHOUT_JAIL. Thus, the test case does not need to handle it.
tests: Switch bin/hostname/hostname_test to execenv=jailKyua skips tests based on the jail execution environment if a system isbuilt WITHOUT_JAIL. Thus, the test case does not need to handle it.Reviewed by: markjApproved by: markj (mentor)Differential Revision: https://reviews.freebsd.org/D47334
show more ...
tests: Fixing incomplete atf_skip if missing jail conditionTesting the scripts outside kyua(1) was a bad idea:It didn't allow me to detect that they were faulty.Sponsored by: Netflix
hostname(1): skip test if jail binary is missingApproved by: lwhsuSponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D44005
hostname(1): Add test casesSponsored by: The FreeBSD FoundationPull Request: https://github.com/freebsd/freebsd-src/pull/1069