diff options
Diffstat (limited to 'test/lib/completions/mplayer.exp')
-rw-r--r-- | test/lib/completions/mplayer.exp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/lib/completions/mplayer.exp b/test/lib/completions/mplayer.exp index 9230a86d..8c9de756 100644 --- a/test/lib/completions/mplayer.exp +++ b/test/lib/completions/mplayer.exp @@ -1,10 +1,14 @@ proc setup {} { save_env + assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIR/fixtures/mplayer} } proc teardown {} { - assert_env_unmodified + assert_bash_exec {HOME=$OLDHOME} + assert_env_unmodified { + /OLDHOME=/d + } } @@ -12,8 +16,9 @@ setup assert_complete_any "mplayer " +sync_after_int - +assert_complete_any "mplayer -h" sync_after_int |