diff options
Diffstat (limited to 'test/lib/completions/info.exp')
| -rw-r--r-- | test/lib/completions/info.exp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/lib/completions/info.exp b/test/lib/completions/info.exp index e7c79e6e..443a1305 100644 --- a/test/lib/completions/info.exp +++ b/test/lib/completions/info.exp @@ -1,19 +1,22 @@ 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 " - +assert_complete_any "info bash" +sync_after_int +assert_complete_any "info -" sync_after_int |
