2011-01-05 22:59:05 +02:00

24 lines
320 B
Plaintext

proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
if {[assert_exec {sysctl -N -a 2>/dev/null | grep ^kern | sort -u} values]} {
set test "sysctl kern should show completions"
assert_complete $values "sysctl kern" $test -expect-cmd-minus kern
}
sync_after_int
teardown