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