2010-11-13 10:51:31 +02:00

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