proc setup {} { save_env }; # setup() proc teardown {} { assert_env_unmodified }; # teardown() setup assert_complete_any "kill 1" sync_after_int assert_complete [get_signals] "kill -" sync_after_int teardown