Ville Skyttä dc8af65161 (testsuite) Use kern instead of fs to test sysctl completion.
FreeBSD does not have fs.* (has vfs.* instead).  Linux has kernel.*,
FreeBSD kern.*.
2010-01-24 23:58:46 +02:00

23 lines
271 B
Plaintext

proc setup {} {
save_env
}; # setup()
proc teardown {} {
assert_env_unmodified
}; # teardown()
setup
if {[assert_exec {sysctl -N -a 2>/dev/null | grep ^kern | sort -u} values]} {
assert_complete $values "sysctl kern"
}; # if
sync_after_int
teardown