summaryrefslogtreecommitdiff
path: root/test/lib/completions/ifdown.exp
blob: 7341ceb82b56768ac3ed40a01ee7735003f2eb64 (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
}


proc teardown {} {
    assert_env_unmodified
}


setup


if {[info exists ::env(CI)]} {
    unsupported "ifdown  should show completions"
} else {
    assert_complete_any "ifdown "
    sync_after_int
}

assert_no_complete "ifdown bash-completion "
sync_after_int


teardown