summaryrefslogtreecommitdiff
path: root/test/lib/completions/isql.exp
blob: 87e16bca7f12b67b77539719ef35e19f2015b574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
proc setup {} {
    save_env
}; # setup()


proc teardown {} {
    assert_env_unmodified {/ODBCINI=/d}
}; # teardown()


setup


assert_bash_exec {OLDODBCINI=$ODBCINI; ODBCINI=$TESTDIR/fixtures/isql/odbc.ini}
assert_complete_any "isql "
sync_after_int
assert_bash_exec {ODBCINI=$OLDODBCINI; unset -v OLDODBCINI}


sync_after_int


teardown