proc setup {} { save_env } proc teardown {} { assert_env_unmodified } setup if {[assert_exec {head --help} "" "" "unsupported"]} { assert_complete_any "head --" } sync_after_int teardown