34 lines
378 B
Plaintext
34 lines
378 B
Plaintext
proc setup {} {
|
|
save_env
|
|
}
|
|
|
|
|
|
proc teardown {} {
|
|
assert_env_unmodified {/OLDPWD=/d}
|
|
}
|
|
|
|
|
|
setup
|
|
|
|
|
|
assert_complete_any "xz "
|
|
|
|
|
|
sync_after_int
|
|
|
|
|
|
assert_complete_dir "a/ bashcomp.lzma bashcomp.tar.xz bashcomp.tlz bashcomp.xz" \
|
|
"xz -d " $::srcdir/fixtures/xz
|
|
|
|
|
|
sync_after_int
|
|
|
|
|
|
assert_complete_dir "a/ bashcomp.tar" "xz " $::srcdir/fixtures/xz
|
|
|
|
|
|
sync_after_int
|
|
|
|
|
|
teardown
|