proc setup {} {
save_env
}
proc teardown {} {
assert_env_unmodified
}
setup
assert_complete_any "makepkg -"
sync_after_int
set test "--<TAB> should complete all long options"
set options [list --linkadd --prepend --chown]
assert_complete $options "makepkg --" $test
sync_after_int
teardown