(testsuite) Use kern instead of fs to test sysctl completion.

FreeBSD does not have fs.* (has vfs.* instead).  Linux has kernel.*,
FreeBSD kern.*.
This commit is contained in:
Ville Skyttä 2010-01-24 23:58:46 +02:00
parent c0d57b0bea
commit dc8af65161

View File

@ -11,7 +11,9 @@ proc teardown {} {
setup
assert_complete_any "sysctl fs"
if {[assert_exec {sysctl -N -a 2>/dev/null | grep ^kern | sort -u} values]} {
assert_complete $values "sysctl kern"
}; # if
sync_after_int