summaryrefslogtreecommitdiff
path: root/test/lib/completions/mencoder.exp
blob: cb0ba7c5e9dc2cac706035f2d6cc3e8ee2cafba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
proc setup {} {
    save_env
    assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIR/fixtures/mplayer}
}


proc teardown {} {
    assert_bash_exec {HOME=$OLDHOME}
    assert_env_unmodified {
        /OLDHOME=/d
    }
}


setup


assert_complete_any "mencoder "
sync_after_int

assert_complete_any "mencoder -v"
sync_after_int


teardown