dc8af65161
FreeBSD does not have fs.* (has vfs.* instead). Linux has kernel.*, FreeBSD kern.*.
23 lines
271 B
Plaintext
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
|