proc setup {} { save_env } proc teardown {} { assert_env_unmodified } setup assert_complete_any "synclient -" sync_after_int # synclient -l may error out with e.g. # Couldn't find synaptics properties. No synaptics driver loaded? if {[assert_exec {synclient -l} "" "" "unsupported"]} { assert_complete_any "synclient " } sync_after_int teardown