51b3e20ebc
Instead of writing `}; # if', write just `}' as was discussed here: http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg01815.html
25 lines
259 B
Plaintext
25 lines
259 B
Plaintext
proc setup {} {
|
|
save_env
|
|
}
|
|
|
|
|
|
proc teardown {} {
|
|
assert_env_unmodified
|
|
}
|
|
|
|
|
|
setup
|
|
|
|
|
|
if {[catch {eval exec {kldstat | grep "\.ko$"}}] == 0} {
|
|
assert_complete_any "kldunload "
|
|
} else {
|
|
assert_no_complete "kldunload "
|
|
}
|
|
|
|
|
|
sync_after_int
|
|
|
|
|
|
teardown
|