51b3e20ebc
Instead of writing `}; # if', write just `}' as was discussed here: http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg01815.html
24 lines
315 B
Plaintext
24 lines
315 B
Plaintext
proc setup {} {
|
|
save_env
|
|
}
|
|
|
|
|
|
proc teardown {} {
|
|
assert_env_unmodified {/ODBCINI=/d}
|
|
}
|
|
|
|
|
|
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
|