proc setup {} { save_env } proc teardown {} { assert_env_unmodified } setup assert_complete_any "reptyr -" sync_after_int assert_complete_any "reptyr " sync_after_int teardown