summaryrefslogtreecommitdiff
path: root/test/lib/completions/chsh.exp
blob: 99262a2cc4dbc99cffc940d8447040d063eea146 (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
}; # setup()


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


setup


assert_complete_any "chsh -s "


sync_after_int


assert_complete [exec bash -c "compgen -A user"] "chsh "


sync_after_int


teardown