proc setup {} { save_env } proc teardown {} { assert_env_unmodified } setup assert_complete_any "sh -" sync_after_int assert_complete_any "sh +" sync_after_int assert_complete_any "sh -o " sync_after_int assert_no_complete "sh -c " sync_after_int teardown