summaryrefslogtreecommitdiff
path: root/test/lib/completions/pkg_deinstall.exp
blob: 8f3d8c3d93a183460592e630142ce6af04d19c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
proc setup {} {
    assert_bash_exec {PKG_DBDIR=fixtures/pkgtools/db}
    save_env
}; # setup()


proc teardown {} {
    assert_env_unmodified
}; # teardown()


setup


set pkgs [exec bash -c "cd fixtures/pkgtools/db ; compgen -d"]
assert_complete $pkgs "pkg_deinstall "


sync_after_int


teardown