summaryrefslogtreecommitdiff
path: root/test/lib/completions/kpdf.exp
blob: 6f0feb683d6315f7fe71d9bd7701892aba73fdab (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
26
proc setup {} {
    save_env
}


proc teardown {} {
    assert_env_unmodified {/OLDPWD=/d}
}


setup


# NOTE: The directory `fixtures/kpdf' contains an additional subdir `foo'
#       (should be visible as completion) and an additional file `.txt'
#       (shouldn't be visible as completion)
set files {
    foo/ .eps .ps .EPS .PS .pdf .PDF
}
assert_complete_dir $files "kpdf " "$::srcdir/fixtures/kpdf"


sync_after_int 


teardown