proc setup {} { assert_bash_exec {OLDINFOPATH=$INFOPATH; INFOPATH=$INFOPATH:$TESTDIR/fixtures/info:} save_env } proc teardown {} { assert_env_unmodified assert_bash_exec {INFOPATH="$OLDINFOPATH"; unset -v OLDINFOPATH} } setup assert_complete_any "info bash" sync_after_int assert_complete_any "info -" sync_after_int teardown