summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/completions/2to3.exp18
-rw-r--r--test/lib/completions/7z.exp37
-rw-r--r--test/lib/completions/a2ps.exp20
-rw-r--r--test/lib/completions/a2x.exp20
-rw-r--r--test/lib/completions/abook.exp20
-rw-r--r--test/lib/completions/aclocal.exp20
-rw-r--r--test/lib/completions/acpi.exp18
-rw-r--r--test/lib/completions/acroread.exp20
-rw-r--r--test/lib/completions/adb.exp18
-rw-r--r--test/lib/completions/add_members.exp20
-rw-r--r--test/lib/completions/alias.exp12
-rw-r--r--test/lib/completions/alpine.exp18
-rw-r--r--test/lib/completions/animate.exp20
-rw-r--r--test/lib/completions/ant.exp39
-rw-r--r--test/lib/completions/apache2ctl.exp20
-rw-r--r--test/lib/completions/appdata-validate.exp18
-rw-r--r--test/lib/completions/apt-build.exp20
-rw-r--r--test/lib/completions/apt-cache.exp20
-rw-r--r--test/lib/completions/apt-get.exp29
-rw-r--r--test/lib/completions/aptitude.exp20
-rw-r--r--test/lib/completions/arch.exp18
-rw-r--r--test/lib/completions/arping.exp21
-rw-r--r--test/lib/completions/arpspoof.exp20
-rw-r--r--test/lib/completions/asciidoc.exp20
-rw-r--r--test/lib/completions/aspell.exp20
-rw-r--r--test/lib/completions/autoconf.exp20
-rw-r--r--test/lib/completions/autoheader.exp20
-rw-r--r--test/lib/completions/automake.exp20
-rw-r--r--test/lib/completions/autoreconf.exp20
-rw-r--r--test/lib/completions/autorpm.exp20
-rw-r--r--test/lib/completions/autoscan.exp20
-rw-r--r--test/lib/completions/autoupdate.exp20
-rw-r--r--test/lib/completions/avctrl.exp20
-rw-r--r--test/lib/completions/awk.exp20
-rw-r--r--test/lib/completions/badblocks.exp20
-rw-r--r--test/lib/completions/base64.exp20
-rw-r--r--test/lib/completions/bash.exp20
-rw-r--r--test/lib/completions/bc.exp20
-rw-r--r--test/lib/completions/bind.exp21
-rw-r--r--test/lib/completions/bison.exp20
-rw-r--r--test/lib/completions/bk.exp20
-rw-r--r--test/lib/completions/brctl.exp20
-rw-r--r--test/lib/completions/btdownloadcurses.py.exp20
-rw-r--r--test/lib/completions/btdownloadgui.py.exp20
-rw-r--r--test/lib/completions/btdownloadheadless.py.exp20
-rw-r--r--test/lib/completions/bts.exp21
-rw-r--r--test/lib/completions/bzip2.exp24
-rw-r--r--test/lib/completions/c++.exp20
-rw-r--r--test/lib/completions/cal.exp20
-rw-r--r--test/lib/completions/cancel.exp31
-rw-r--r--test/lib/completions/cardctl.exp20
-rw-r--r--test/lib/completions/cat.exp20
-rw-r--r--test/lib/completions/cc.exp20
-rw-r--r--test/lib/completions/ccache.exp43
-rw-r--r--test/lib/completions/ccze.exp27
-rw-r--r--test/lib/completions/cd.exp26
-rw-r--r--test/lib/completions/cdrecord.exp20
-rw-r--r--test/lib/completions/cfagent.exp20
-rw-r--r--test/lib/completions/cfrun.exp18
-rw-r--r--test/lib/completions/chage.exp20
-rw-r--r--test/lib/completions/change_pw.exp20
-rw-r--r--test/lib/completions/check_db.exp20
-rw-r--r--test/lib/completions/check_perms.exp20
-rw-r--r--test/lib/completions/checksec.exp18
-rw-r--r--test/lib/completions/chfn.exp18
-rw-r--r--test/lib/completions/chgrp.exp20
-rw-r--r--test/lib/completions/chkconfig.exp27
-rw-r--r--test/lib/completions/chown.exp36
-rw-r--r--test/lib/completions/chpasswd.exp20
-rw-r--r--test/lib/completions/chronyc.exp21
-rw-r--r--test/lib/completions/chroot.exp18
-rw-r--r--test/lib/completions/chrpath.exp21
-rw-r--r--test/lib/completions/chsh.exp26
-rw-r--r--test/lib/completions/ci.exp20
-rw-r--r--test/lib/completions/ciptool.exp20
-rw-r--r--test/lib/completions/civclient.exp20
-rw-r--r--test/lib/completions/civserver.exp20
-rw-r--r--test/lib/completions/cksfv.exp20
-rw-r--r--test/lib/completions/cleanarch.exp20
-rw-r--r--test/lib/completions/clisp.exp20
-rw-r--r--test/lib/completions/clone_member.exp20
-rw-r--r--test/lib/completions/co.exp20
-rw-r--r--test/lib/completions/compare.exp20
-rw-r--r--test/lib/completions/complete.exp18
-rw-r--r--test/lib/completions/composite.exp20
-rw-r--r--test/lib/completions/config_list.exp20
-rw-r--r--test/lib/completions/configure.exp24
-rw-r--r--test/lib/completions/conjure.exp20
-rw-r--r--test/lib/completions/convert.exp22
-rw-r--r--test/lib/completions/cowsay.exp20
-rw-r--r--test/lib/completions/cp.exp20
-rw-r--r--test/lib/completions/cpan2dist.exp18
-rw-r--r--test/lib/completions/cpio.exp26
-rw-r--r--test/lib/completions/cppcheck.exp42
-rw-r--r--test/lib/completions/createdb.exp18
-rw-r--r--test/lib/completions/createuser.exp18
-rw-r--r--test/lib/completions/crontab.exp20
-rw-r--r--test/lib/completions/cryptsetup.exp20
-rw-r--r--test/lib/completions/csplit.exp20
-rw-r--r--test/lib/completions/curl.exp20
-rw-r--r--test/lib/completions/cut.exp20
-rw-r--r--test/lib/completions/cvs.exp41
-rw-r--r--test/lib/completions/cvsps.exp36
-rw-r--r--test/lib/completions/date.exp20
-rw-r--r--test/lib/completions/dcop.exp22
-rw-r--r--test/lib/completions/dd.exp33
-rw-r--r--test/lib/completions/declare.exp26
-rw-r--r--test/lib/completions/deja-dup.exp21
-rw-r--r--test/lib/completions/desktop-file-validate.exp20
-rw-r--r--test/lib/completions/df.exp20
-rw-r--r--test/lib/completions/dfutool.exp20
-rw-r--r--test/lib/completions/dhclient.exp20
-rw-r--r--test/lib/completions/dict.exp20
-rw-r--r--test/lib/completions/diff.exp20
-rw-r--r--test/lib/completions/dir.exp20
-rw-r--r--test/lib/completions/display.exp26
-rw-r--r--test/lib/completions/dmesg.exp18
-rw-r--r--test/lib/completions/dnsspoof.exp20
-rw-r--r--test/lib/completions/dot.exp20
-rw-r--r--test/lib/completions/dpkg-deb.exp20
-rw-r--r--test/lib/completions/dpkg-reconfigure.exp20
-rw-r--r--test/lib/completions/dpkg-source.exp20
-rw-r--r--test/lib/completions/dpkg.exp29
-rw-r--r--test/lib/completions/dropdb.exp18
-rw-r--r--test/lib/completions/dropuser.exp18
-rw-r--r--test/lib/completions/dselect.exp20
-rw-r--r--test/lib/completions/dsniff.exp20
-rw-r--r--test/lib/completions/du.exp20
-rw-r--r--test/lib/completions/dumpdb.exp20
-rw-r--r--test/lib/completions/dumpe2fs.exp20
-rw-r--r--test/lib/completions/e2freefrag.exp20
-rw-r--r--test/lib/completions/e2label.exp20
-rw-r--r--test/lib/completions/ebtables.exp18
-rw-r--r--test/lib/completions/eject.exp18
-rw-r--r--test/lib/completions/enscript.exp20
-rw-r--r--test/lib/completions/env.exp22
-rw-r--r--test/lib/completions/eog.exp18
-rw-r--r--test/lib/completions/ether-wake.exp20
-rw-r--r--test/lib/completions/evince.exp35
-rw-r--r--test/lib/completions/expand.exp22
-rw-r--r--test/lib/completions/explodepkg.exp25
-rw-r--r--test/lib/completions/export.exp55
-rw-r--r--test/lib/completions/faillog.exp20
-rw-r--r--test/lib/completions/fbgs.exp20
-rw-r--r--test/lib/completions/fbi.exp20
-rw-r--r--test/lib/completions/feh.exp57
-rw-r--r--test/lib/completions/file-roller.exp18
-rw-r--r--test/lib/completions/file.exp21
-rw-r--r--test/lib/completions/filefrag.exp20
-rw-r--r--test/lib/completions/filesnarf.exp20
-rw-r--r--test/lib/completions/find.exp78
-rw-r--r--test/lib/completions/find_member.exp20
-rw-r--r--test/lib/completions/finger.exp9
-rw-r--r--test/lib/completions/flake8.exp24
-rw-r--r--test/lib/completions/fmt.exp22
-rw-r--r--test/lib/completions/fold.exp22
-rw-r--r--test/lib/completions/freebsd-update.exp18
-rw-r--r--test/lib/completions/freeciv-gtk2.exp18
-rw-r--r--test/lib/completions/freeciv-server.exp18
-rw-r--r--test/lib/completions/freerdp.exp20
-rw-r--r--test/lib/completions/function.exp18
-rw-r--r--test/lib/completions/fusermount.exp20
-rw-r--r--test/lib/completions/g++.exp20
-rw-r--r--test/lib/completions/g4.exp20
-rw-r--r--test/lib/completions/g77.exp20
-rw-r--r--test/lib/completions/gcc.exp20
-rw-r--r--test/lib/completions/gcj.exp20
-rw-r--r--test/lib/completions/gcl.exp20
-rw-r--r--test/lib/completions/gdb.exp20
-rw-r--r--test/lib/completions/genaliases.exp20
-rw-r--r--test/lib/completions/gendiff.exp20
-rw-r--r--test/lib/completions/genisoimage.exp18
-rw-r--r--test/lib/completions/geoiplookup.exp18
-rw-r--r--test/lib/completions/getconf.exp30
-rw-r--r--test/lib/completions/getent.exp20
-rw-r--r--test/lib/completions/gkrellm.exp20
-rw-r--r--test/lib/completions/gm.exp27
-rw-r--r--test/lib/completions/gmplayer.exp20
-rw-r--r--test/lib/completions/gnatmake.exp20
-rw-r--r--test/lib/completions/gnokii.exp18
-rw-r--r--test/lib/completions/gnome-mplayer.exp20
-rw-r--r--test/lib/completions/gpasswd.exp20
-rw-r--r--test/lib/completions/gpc.exp20
-rw-r--r--test/lib/completions/gperf.exp20
-rw-r--r--test/lib/completions/gpg.exp20
-rw-r--r--test/lib/completions/gpg2.exp18
-rw-r--r--test/lib/completions/gphoto2.exp18
-rw-r--r--test/lib/completions/gprof.exp22
-rw-r--r--test/lib/completions/grep.exp20
-rw-r--r--test/lib/completions/groupadd.exp21
-rw-r--r--test/lib/completions/groupdel.exp18
-rw-r--r--test/lib/completions/groupmems.exp18
-rw-r--r--test/lib/completions/groupmod.exp21
-rw-r--r--test/lib/completions/growisofs.exp20
-rw-r--r--test/lib/completions/grpck.exp20
-rw-r--r--test/lib/completions/grub.exp20
-rw-r--r--test/lib/completions/gzip.exp32
-rw-r--r--test/lib/completions/hciattach.exp20
-rw-r--r--test/lib/completions/hciconfig.exp20
-rw-r--r--test/lib/completions/hcitool.exp20
-rw-r--r--test/lib/completions/hddtemp.exp20
-rw-r--r--test/lib/completions/head.exp22
-rw-r--r--test/lib/completions/hexdump.exp18
-rw-r--r--test/lib/completions/hid2hci.exp18
-rw-r--r--test/lib/completions/host.exp20
-rw-r--r--test/lib/completions/hostname.exp18
-rw-r--r--test/lib/completions/hping2.exp20
-rw-r--r--test/lib/completions/hping3.exp18
-rw-r--r--test/lib/completions/htop.exp20
-rw-r--r--test/lib/completions/htpasswd.exp32
-rw-r--r--test/lib/completions/hwclock.exp18
-rw-r--r--test/lib/completions/iconv.exp20
-rw-r--r--test/lib/completions/id.exp20
-rw-r--r--test/lib/completions/identify.exp20
-rw-r--r--test/lib/completions/idn.exp20
-rw-r--r--test/lib/completions/ifdown.exp25
-rw-r--r--test/lib/completions/iftop.exp20
-rw-r--r--test/lib/completions/ifup.exp25
-rw-r--r--test/lib/completions/import.exp20
-rw-r--r--test/lib/completions/info.exp23
-rw-r--r--test/lib/completions/inject.exp20
-rw-r--r--test/lib/completions/insmod.exp20
-rw-r--r--test/lib/completions/installpkg.exp49
-rw-r--r--test/lib/completions/interdiff.exp18
-rw-r--r--test/lib/completions/invoke-rc.d.exp20
-rw-r--r--test/lib/completions/ionice.exp18
-rw-r--r--test/lib/completions/ip.exp21
-rw-r--r--test/lib/completions/iperf.exp20
-rw-r--r--test/lib/completions/ipmitool.exp20
-rw-r--r--test/lib/completions/ipsec.exp20
-rw-r--r--test/lib/completions/iptables.exp18
-rw-r--r--test/lib/completions/ipv6calc.exp26
-rw-r--r--test/lib/completions/irb.exp20
-rw-r--r--test/lib/completions/iscsiadm.exp20
-rw-r--r--test/lib/completions/isql.exp23
-rw-r--r--test/lib/completions/iwconfig.exp20
-rw-r--r--test/lib/completions/iwlist.exp20
-rw-r--r--test/lib/completions/iwpriv.exp20
-rw-r--r--test/lib/completions/iwspy.exp20
-rw-r--r--test/lib/completions/jar.exp20
-rw-r--r--test/lib/completions/jarsigner.exp20
-rw-r--r--test/lib/completions/java.exp53
-rw-r--r--test/lib/completions/javac.exp21
-rw-r--r--test/lib/completions/javadoc.exp26
-rw-r--r--test/lib/completions/javaws.exp20
-rw-r--r--test/lib/completions/jpegoptim.exp18
-rw-r--r--test/lib/completions/jps.exp20
-rw-r--r--test/lib/completions/jshint.exp18
-rw-r--r--test/lib/completions/k3b.exp20
-rw-r--r--test/lib/completions/kcov.exp25
-rw-r--r--test/lib/completions/kdvi.exp27
-rw-r--r--test/lib/completions/kill.exp30
-rw-r--r--test/lib/completions/killall.exp23
-rw-r--r--test/lib/completions/kldload.exp20
-rw-r--r--test/lib/completions/kldunload.exp24
-rw-r--r--test/lib/completions/koji.exp22
-rw-r--r--test/lib/completions/kpdf.exp26
-rw-r--r--test/lib/completions/kplayer.exp20
-rw-r--r--test/lib/completions/ktutil.exp21
-rw-r--r--test/lib/completions/l2ping.exp20
-rw-r--r--test/lib/completions/larch.exp20
-rw-r--r--test/lib/completions/lastlog.exp20
-rw-r--r--test/lib/completions/ld.exp20
-rw-r--r--test/lib/completions/ldapadd.exp20
-rw-r--r--test/lib/completions/ldapcompare.exp20
-rw-r--r--test/lib/completions/ldapdelete.exp20
-rw-r--r--test/lib/completions/ldapmodrdn.exp20
-rw-r--r--test/lib/completions/ldappasswd.exp20
-rw-r--r--test/lib/completions/ldapsearch.exp20
-rw-r--r--test/lib/completions/ldapvi.exp20
-rw-r--r--test/lib/completions/ldapwhoami.exp20
-rw-r--r--test/lib/completions/ldd.exp20
-rw-r--r--test/lib/completions/less.exp20
-rw-r--r--test/lib/completions/lftp.exp24
-rw-r--r--test/lib/completions/lftpget.exp20
-rw-r--r--test/lib/completions/lilo.exp20
-rw-r--r--test/lib/completions/links.exp20
-rw-r--r--test/lib/completions/lintian-info.exp21
-rw-r--r--test/lib/completions/lintian.exp18
-rw-r--r--test/lib/completions/lisp.exp20
-rw-r--r--test/lib/completions/list_admins.exp20
-rw-r--r--test/lib/completions/list_lists.exp20
-rw-r--r--test/lib/completions/list_members.exp20
-rw-r--r--test/lib/completions/list_owners.exp20
-rw-r--r--test/lib/completions/ln.exp20
-rw-r--r--test/lib/completions/look.exp22
-rw-r--r--test/lib/completions/lpq.exp20
-rw-r--r--test/lib/completions/lpr.exp20
-rw-r--r--test/lib/completions/lrzip.exp24
-rw-r--r--test/lib/completions/ls.exp36
-rw-r--r--test/lib/completions/lsof.exp21
-rw-r--r--test/lib/completions/lspci.exp21
-rw-r--r--test/lib/completions/lsscsi.exp21
-rw-r--r--test/lib/completions/lsusb.exp18
-rw-r--r--test/lib/completions/lua.exp18
-rw-r--r--test/lib/completions/luac.exp18
-rw-r--r--test/lib/completions/luseradd.exp18
-rw-r--r--test/lib/completions/luserdel.exp18
-rw-r--r--test/lib/completions/lusermod.exp18
-rw-r--r--test/lib/completions/lvchange.exp22
-rw-r--r--test/lib/completions/lvcreate.exp22
-rw-r--r--test/lib/completions/lvdisplay.exp22
-rw-r--r--test/lib/completions/lvextend.exp22
-rw-r--r--test/lib/completions/lvm.exp20
-rw-r--r--test/lib/completions/lvmdiskscan.exp22
-rw-r--r--test/lib/completions/lvreduce.exp22
-rw-r--r--test/lib/completions/lvremove.exp22
-rw-r--r--test/lib/completions/lvrename.exp22
-rw-r--r--test/lib/completions/lvresize.exp22
-rw-r--r--test/lib/completions/lvs.exp22
-rw-r--r--test/lib/completions/lvscan.exp22
-rw-r--r--test/lib/completions/lz4.exp21
-rw-r--r--test/lib/completions/lzip.exp20
-rw-r--r--test/lib/completions/lzma.exp30
-rw-r--r--test/lib/completions/lzop.exp24
-rw-r--r--test/lib/completions/m4.exp22
-rw-r--r--test/lib/completions/macof.exp20
-rw-r--r--test/lib/completions/mailmanctl.exp20
-rw-r--r--test/lib/completions/mailsnarf.exp20
-rw-r--r--test/lib/completions/make.exp77
-rw-r--r--test/lib/completions/makepkg.exp28
-rw-r--r--test/lib/completions/man.exp76
-rw-r--r--test/lib/completions/mc.exp20
-rw-r--r--test/lib/completions/mcrypt.exp24
-rw-r--r--test/lib/completions/md5sum.exp20
-rw-r--r--test/lib/completions/mdadm.exp18
-rw-r--r--test/lib/completions/mdecrypt.exp20
-rw-r--r--test/lib/completions/mdtool.exp20
-rw-r--r--test/lib/completions/medusa.exp20
-rw-r--r--test/lib/completions/mencoder.exp25
-rw-r--r--test/lib/completions/mii-diag.exp20
-rw-r--r--test/lib/completions/mii-tool.exp20
-rw-r--r--test/lib/completions/minicom.exp20
-rw-r--r--test/lib/completions/mkdir.exp33
-rw-r--r--test/lib/completions/mkfifo.exp20
-rw-r--r--test/lib/completions/mkinitrd.exp20
-rw-r--r--test/lib/completions/mkisofs.exp48
-rw-r--r--test/lib/completions/mknod.exp20
-rw-r--r--test/lib/completions/mktemp.exp20
-rw-r--r--test/lib/completions/mmsitepass.exp20
-rw-r--r--test/lib/completions/mock.exp18
-rw-r--r--test/lib/completions/modinfo.exp38
-rw-r--r--test/lib/completions/modprobe.exp52
-rw-r--r--test/lib/completions/module.exp20
-rw-r--r--test/lib/completions/mogrify.exp20
-rw-r--r--test/lib/completions/monodevelop.exp20
-rw-r--r--test/lib/completions/montage.exp20
-rw-r--r--test/lib/completions/mount.exp46
-rw-r--r--test/lib/completions/mplayer.exp25
-rw-r--r--test/lib/completions/mr.exp46
-rw-r--r--test/lib/completions/msgsnarf.exp20
-rw-r--r--test/lib/completions/msynctool.exp20
-rw-r--r--test/lib/completions/mtx.exp20
-rw-r--r--test/lib/completions/munin-node-configure.exp18
-rw-r--r--test/lib/completions/munin-run.exp18
-rw-r--r--test/lib/completions/munindoc.exp19
-rw-r--r--test/lib/completions/mussh.exp18
-rw-r--r--test/lib/completions/mutt.exp43
-rw-r--r--test/lib/completions/muttng.exp20
-rw-r--r--test/lib/completions/mv.exp20
-rw-r--r--test/lib/completions/mysql.exp22
-rw-r--r--test/lib/completions/mysqladmin.exp20
-rw-r--r--test/lib/completions/nc.exp18
-rw-r--r--test/lib/completions/ncftp.exp22
-rw-r--r--test/lib/completions/nethogs.exp20
-rw-r--r--test/lib/completions/netstat.exp20
-rw-r--r--test/lib/completions/newgrp.exp18
-rw-r--r--test/lib/completions/newlist.exp20
-rw-r--r--test/lib/completions/newusers.exp20
-rw-r--r--test/lib/completions/ngrep.exp21
-rw-r--r--test/lib/completions/nl.exp20
-rw-r--r--test/lib/completions/nm.exp20
-rw-r--r--test/lib/completions/nmap.exp18
-rw-r--r--test/lib/completions/nmcli.exp18
-rw-r--r--test/lib/completions/nproc.exp21
-rw-r--r--test/lib/completions/nslookup.exp20
-rw-r--r--test/lib/completions/ntpdate.exp20
-rw-r--r--test/lib/completions/objcopy.exp20
-rw-r--r--test/lib/completions/objdump.exp20
-rw-r--r--test/lib/completions/od.exp20
-rw-r--r--test/lib/completions/oggdec.exp21
-rw-r--r--test/lib/completions/openssl.exp35
-rw-r--r--test/lib/completions/opera.exp18
-rw-r--r--test/lib/completions/optipng.exp18
-rw-r--r--test/lib/completions/p4.exp20
-rw-r--r--test/lib/completions/pack200.exp20
-rw-r--r--test/lib/completions/passwd.exp20
-rw-r--r--test/lib/completions/paste.exp20
-rw-r--r--test/lib/completions/patch.exp20
-rw-r--r--test/lib/completions/pdftotext.exp18
-rw-r--r--test/lib/completions/perl.exp131
-rw-r--r--test/lib/completions/perldoc.exp39
-rw-r--r--test/lib/completions/perltidy.exp27
-rw-r--r--test/lib/completions/pgrep.exp19
-rw-r--r--test/lib/completions/phing.exp20
-rw-r--r--test/lib/completions/pidof.exp19
-rw-r--r--test/lib/completions/pine.exp18
-rw-r--r--test/lib/completions/pinfo.exp23
-rw-r--r--test/lib/completions/ping.exp21
-rw-r--r--test/lib/completions/pkg-config.exp20
-rw-r--r--test/lib/completions/pkg-get.exp18
-rw-r--r--test/lib/completions/pkg_deinstall.exp22
-rw-r--r--test/lib/completions/pkg_delete.exp20
-rw-r--r--test/lib/completions/pkg_info.exp20
-rw-r--r--test/lib/completions/pkgadd.exp18
-rw-r--r--test/lib/completions/pkgrm.exp18
-rw-r--r--test/lib/completions/pkgtool.exp20
-rw-r--r--test/lib/completions/pkgutil.exp18
-rw-r--r--test/lib/completions/pkill.exp20
-rw-r--r--test/lib/completions/plague-client.exp20
-rw-r--r--test/lib/completions/pm-hibernate.exp18
-rw-r--r--test/lib/completions/pm-is-supported.exp18
-rw-r--r--test/lib/completions/pm-powersave.exp18
-rw-r--r--test/lib/completions/pngfix.exp21
-rw-r--r--test/lib/completions/portinstall.exp22
-rw-r--r--test/lib/completions/portsnap.exp18
-rw-r--r--test/lib/completions/portupgrade.exp21
-rw-r--r--test/lib/completions/postcat.exp20
-rw-r--r--test/lib/completions/postconf.exp29
-rw-r--r--test/lib/completions/postfix.exp20
-rw-r--r--test/lib/completions/postmap.exp20
-rw-r--r--test/lib/completions/postsuper.exp20
-rw-r--r--test/lib/completions/povray.exp20
-rw-r--r--test/lib/completions/pr.exp20
-rw-r--r--test/lib/completions/prelink.exp21
-rw-r--r--test/lib/completions/protoc.exp20
-rw-r--r--test/lib/completions/psql.exp20
-rw-r--r--test/lib/completions/ptx.exp20
-rw-r--r--test/lib/completions/puppet.exp21
-rw-r--r--test/lib/completions/pushd.exp18
-rw-r--r--test/lib/completions/pv.exp24
-rw-r--r--test/lib/completions/pvchange.exp22
-rw-r--r--test/lib/completions/pvcreate.exp22
-rw-r--r--test/lib/completions/pvdisplay.exp22
-rw-r--r--test/lib/completions/pvmove.exp20
-rw-r--r--test/lib/completions/pvremove.exp22
-rw-r--r--test/lib/completions/pvs.exp22
-rw-r--r--test/lib/completions/pvscan.exp20
-rw-r--r--test/lib/completions/pwck.exp20
-rw-r--r--test/lib/completions/pwd.exp18
-rw-r--r--test/lib/completions/pwdx.exp20
-rw-r--r--test/lib/completions/pwgen.exp20
-rw-r--r--test/lib/completions/py.test.exp21
-rw-r--r--test/lib/completions/pycodestyle.exp24
-rw-r--r--test/lib/completions/pydoc.exp18
-rw-r--r--test/lib/completions/pyflakes.exp18
-rw-r--r--test/lib/completions/pylint.exp18
-rw-r--r--test/lib/completions/python.exp48
-rw-r--r--test/lib/completions/pyvenv.exp18
-rw-r--r--test/lib/completions/qemu.exp20
-rw-r--r--test/lib/completions/qrunner.exp20
-rw-r--r--test/lib/completions/querybts.exp20
-rw-r--r--test/lib/completions/quota.exp20
-rw-r--r--test/lib/completions/quotacheck.exp20
-rw-r--r--test/lib/completions/quotaon.exp20
-rw-r--r--test/lib/completions/radvdump.exp18
-rw-r--r--test/lib/completions/rcs.exp20
-rw-r--r--test/lib/completions/rcsdiff.exp20
-rw-r--r--test/lib/completions/rdesktop.exp20
-rw-r--r--test/lib/completions/rdict.exp20
-rw-r--r--test/lib/completions/readelf.exp20
-rw-r--r--test/lib/completions/readonly.exp20
-rw-r--r--test/lib/completions/remove_members.exp20
-rw-r--r--test/lib/completions/removepkg.exp35
-rw-r--r--test/lib/completions/renice.exp25
-rw-r--r--test/lib/completions/repomanage.exp18
-rw-r--r--test/lib/completions/reportbug.exp20
-rw-r--r--test/lib/completions/reptyr.exp22
-rw-r--r--test/lib/completions/resolvconf.exp18
-rw-r--r--test/lib/completions/rfcomm.exp20
-rw-r--r--test/lib/completions/rfkill.exp21
-rw-r--r--test/lib/completions/ri.exp26
-rw-r--r--test/lib/completions/rlog.exp20
-rw-r--r--test/lib/completions/rm.exp20
-rw-r--r--test/lib/completions/rmdir.exp26
-rw-r--r--test/lib/completions/rmlist.exp20
-rw-r--r--test/lib/completions/rmmod.exp18
-rw-r--r--test/lib/completions/route.exp20
-rw-r--r--test/lib/completions/rpcdebug.exp20
-rw-r--r--test/lib/completions/rpm.exp29
-rw-r--r--test/lib/completions/rpm2tgz.exp31
-rw-r--r--test/lib/completions/rpmbuild.exp20
-rw-r--r--test/lib/completions/rrdtool.exp18
-rw-r--r--test/lib/completions/rsync.exp28
-rw-r--r--test/lib/completions/rtcwake.exp18
-rw-r--r--test/lib/completions/runuser.exp18
-rw-r--r--test/lib/completions/sbcl-mt.exp20
-rw-r--r--test/lib/completions/sbcl.exp20
-rw-r--r--test/lib/completions/sbopkg.exp20
-rw-r--r--test/lib/completions/scp.exp6
-rw-r--r--test/lib/completions/screen.exp36
-rw-r--r--test/lib/completions/sdptool.exp20
-rw-r--r--test/lib/completions/sed.exp22
-rw-r--r--test/lib/completions/seq.exp20
-rw-r--r--test/lib/completions/service.exp20
-rw-r--r--test/lib/completions/set.exp20
-rw-r--r--test/lib/completions/setquota.exp20
-rw-r--r--test/lib/completions/sftp.exp4
-rw-r--r--test/lib/completions/sh.exp38
-rw-r--r--test/lib/completions/sha1sum.exp20
-rw-r--r--test/lib/completions/shar.exp20
-rw-r--r--test/lib/completions/sitecopy.exp20
-rw-r--r--test/lib/completions/slackpkg.exp20
-rw-r--r--test/lib/completions/slapt-get.exp20
-rw-r--r--test/lib/completions/slapt-src.exp20
-rw-r--r--test/lib/completions/smartctl.exp20
-rw-r--r--test/lib/completions/smbcacls.exp20
-rw-r--r--test/lib/completions/smbclient.exp20
-rw-r--r--test/lib/completions/smbcquotas.exp20
-rw-r--r--test/lib/completions/smbget.exp20
-rw-r--r--test/lib/completions/smbpasswd.exp20
-rw-r--r--test/lib/completions/smbtar.exp20
-rw-r--r--test/lib/completions/smbtree.exp20
-rw-r--r--test/lib/completions/snownews.exp20
-rw-r--r--test/lib/completions/sort.exp20
-rw-r--r--test/lib/completions/split.exp22
-rw-r--r--test/lib/completions/spovray.exp20
-rw-r--r--test/lib/completions/sqlite3.exp20
-rw-r--r--test/lib/completions/ss.exp24
-rw-r--r--test/lib/completions/ssh-add.exp20
-rw-r--r--test/lib/completions/ssh-copy-id.exp26
-rw-r--r--test/lib/completions/ssh-keygen.exp18
-rw-r--r--test/lib/completions/ssh.exp31
-rw-r--r--test/lib/completions/sshfs.exp20
-rw-r--r--test/lib/completions/sshmitm.exp20
-rw-r--r--test/lib/completions/sshow.exp20
-rw-r--r--test/lib/completions/strace.exp20
-rw-r--r--test/lib/completions/stream.exp20
-rw-r--r--test/lib/completions/strings.exp18
-rw-r--r--test/lib/completions/strip.exp20
-rw-r--r--test/lib/completions/su.exp18
-rw-r--r--test/lib/completions/sudo.exp53
-rw-r--r--test/lib/completions/svcadm.exp18
-rw-r--r--test/lib/completions/svk.exp20
-rw-r--r--test/lib/completions/svn.exp20
-rw-r--r--test/lib/completions/svnadmin.exp20
-rw-r--r--test/lib/completions/svnlook.exp20
-rw-r--r--test/lib/completions/sync_members.exp20
-rw-r--r--test/lib/completions/synclient.exp26
-rw-r--r--test/lib/completions/sysbench.exp20
-rw-r--r--test/lib/completions/sysctl.exp23
-rw-r--r--test/lib/completions/tac.exp20
-rw-r--r--test/lib/completions/tail.exp22
-rw-r--r--test/lib/completions/tar.exp132
-rw-r--r--test/lib/completions/tcpdump.exp20
-rw-r--r--test/lib/completions/tcpkill.exp20
-rw-r--r--test/lib/completions/tcpnice.exp20
-rw-r--r--test/lib/completions/tee.exp20
-rw-r--r--test/lib/completions/texindex.exp20
-rw-r--r--test/lib/completions/tightvncviewer.exp20
-rw-r--r--test/lib/completions/time.exp36
-rw-r--r--test/lib/completions/timeout.exp21
-rw-r--r--test/lib/completions/tipc.exp18
-rw-r--r--test/lib/completions/touch.exp22
-rw-r--r--test/lib/completions/tox.exp24
-rw-r--r--test/lib/completions/tr.exp22
-rw-r--r--test/lib/completions/tracepath.exp21
-rw-r--r--test/lib/completions/tshark.exp24
-rw-r--r--test/lib/completions/tune2fs.exp20
-rw-r--r--test/lib/completions/udevadm.exp18
-rw-r--r--test/lib/completions/umount.exp6
-rw-r--r--test/lib/completions/unace.exp20
-rw-r--r--test/lib/completions/uname.exp22
-rw-r--r--test/lib/completions/unexpand.exp22
-rw-r--r--test/lib/completions/uniq.exp22
-rw-r--r--test/lib/completions/units.exp22
-rw-r--r--test/lib/completions/unpack200.exp20
-rw-r--r--test/lib/completions/unrar.exp20
-rw-r--r--test/lib/completions/unset.exp20
-rw-r--r--test/lib/completions/unshunt.exp20
-rw-r--r--test/lib/completions/update-alternatives.exp20
-rw-r--r--test/lib/completions/update-rc.d.exp20
-rw-r--r--test/lib/completions/upgradepkg.exp25
-rw-r--r--test/lib/completions/urlsnarf.exp20
-rw-r--r--test/lib/completions/uscan.exp18
-rw-r--r--test/lib/completions/useradd.exp21
-rw-r--r--test/lib/completions/userdel.exp22
-rw-r--r--test/lib/completions/usermod.exp21
-rw-r--r--test/lib/completions/valgrind.exp50
-rw-r--r--test/lib/completions/vdir.exp20
-rw-r--r--test/lib/completions/vgcfgbackup.exp22
-rw-r--r--test/lib/completions/vgcfgrestore.exp22
-rw-r--r--test/lib/completions/vgchange.exp20
-rw-r--r--test/lib/completions/vgck.exp22
-rw-r--r--test/lib/completions/vgconvert.exp22
-rw-r--r--test/lib/completions/vgcreate.exp22
-rw-r--r--test/lib/completions/vgdisplay.exp22
-rw-r--r--test/lib/completions/vgexport.exp22
-rw-r--r--test/lib/completions/vgextend.exp22
-rw-r--r--test/lib/completions/vgimport.exp22
-rw-r--r--test/lib/completions/vgmerge.exp22
-rw-r--r--test/lib/completions/vgmknodes.exp22
-rw-r--r--test/lib/completions/vgreduce.exp22
-rw-r--r--test/lib/completions/vgremove.exp22
-rw-r--r--test/lib/completions/vgrename.exp22
-rw-r--r--test/lib/completions/vgs.exp22
-rw-r--r--test/lib/completions/vgscan.exp22
-rw-r--r--test/lib/completions/vgsplit.exp20
-rw-r--r--test/lib/completions/vi.exp22
-rw-r--r--test/lib/completions/vipw.exp20
-rw-r--r--test/lib/completions/vmstat.exp18
-rw-r--r--test/lib/completions/vncviewer.exp22
-rw-r--r--test/lib/completions/vpnc.exp18
-rw-r--r--test/lib/completions/watch.exp18
-rw-r--r--test/lib/completions/wc.exp22
-rw-r--r--test/lib/completions/webmitm.exp20
-rw-r--r--test/lib/completions/wget.exp26
-rw-r--r--test/lib/completions/who.exp22
-rw-r--r--test/lib/completions/wine.exp31
-rw-r--r--test/lib/completions/withlist.exp20
-rw-r--r--test/lib/completions/wodim.exp18
-rw-r--r--test/lib/completions/wol.exp29
-rw-r--r--test/lib/completions/write.exp19
-rw-r--r--test/lib/completions/wsimport.exp18
-rw-r--r--test/lib/completions/wtf.exp20
-rw-r--r--test/lib/completions/wvdial.exp20
-rw-r--r--test/lib/completions/xdg-mime.exp39
-rw-r--r--test/lib/completions/xdg-settings.exp24
-rw-r--r--test/lib/completions/xfreerdp.exp28
-rw-r--r--test/lib/completions/xgamma.exp21
-rw-r--r--test/lib/completions/xm.exp18
-rw-r--r--test/lib/completions/xmllint.exp20
-rw-r--r--test/lib/completions/xmlwf.exp20
-rw-r--r--test/lib/completions/xmms.exp20
-rw-r--r--test/lib/completions/xmodmap.exp20
-rw-r--r--test/lib/completions/xpovray.exp20
-rw-r--r--test/lib/completions/xrandr.exp21
-rw-r--r--test/lib/completions/xrdb.exp20
-rw-r--r--test/lib/completions/xsltproc.exp20
-rw-r--r--test/lib/completions/xvnc4viewer.exp45
-rw-r--r--test/lib/completions/xxd.exp18
-rw-r--r--test/lib/completions/xz.exp37
-rw-r--r--test/lib/completions/xzdec.exp20
-rw-r--r--test/lib/completions/ypcat.exp20
-rw-r--r--test/lib/completions/ypmatch.exp20
-rw-r--r--test/lib/completions/yum-arch.exp20
-rw-r--r--test/lib/completions/yum.exp20
-rw-r--r--test/lib/completions/zopfli.exp22
-rw-r--r--test/lib/completions/zopflipng.exp18
-rw-r--r--test/lib/library.exp103
-rw-r--r--test/lib/library.sh28
641 files changed, 9 insertions, 14312 deletions
diff --git a/test/lib/completions/2to3.exp b/test/lib/completions/2to3.exp
deleted file mode 100644
index 101fbf87..00000000
--- a/test/lib/completions/2to3.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "2to3 "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/7z.exp b/test/lib/completions/7z.exp
deleted file mode 100644
index 4e7e8689..00000000
--- a/test/lib/completions/7z.exp
+++ /dev/null
@@ -1,37 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-assert_complete_any "7z "
-sync_after_int
-
-
-assert_complete "-tzip" "7z a ar -tzi"
-sync_after_int
-
-
-set dir $::srcdir/fixtures/_filedir
-assert_complete_dir "-wa\\ b/" "7z x -wa\\ " $dir "" -nospace
-sync_after_int
-
-
-set dir $::srcdir/fixtures/7z
-assert_complete_dir "a.7z" "7z x " $dir
-sync_after_int
-
-
-set dir $::srcdir/fixtures/7z
-assert_complete_dir "abc" "7z d a.7z " $dir
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/a2ps.exp b/test/lib/completions/a2ps.exp
deleted file mode 100644
index 77cd07f5..00000000
--- a/test/lib/completions/a2ps.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "a2ps "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/a2x.exp b/test/lib/completions/a2x.exp
deleted file mode 100644
index e1ca8844..00000000
--- a/test/lib/completions/a2x.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "a2x "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/abook.exp b/test/lib/completions/abook.exp
deleted file mode 100644
index 463a28c0..00000000
--- a/test/lib/completions/abook.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "abook -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/aclocal.exp b/test/lib/completions/aclocal.exp
deleted file mode 100644
index da133aa8..00000000
--- a/test/lib/completions/aclocal.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "aclocal "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/acpi.exp b/test/lib/completions/acpi.exp
deleted file mode 100644
index 278cdceb..00000000
--- a/test/lib/completions/acpi.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "acpi -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/acroread.exp b/test/lib/completions/acroread.exp
deleted file mode 100644
index f627d34e..00000000
--- a/test/lib/completions/acroread.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD/d}
-}
-
-
-setup
-
-
-assert_complete_dir {foo.d/ t.pdf} "acroread " $::srcdir/fixtures/acroread
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/adb.exp b/test/lib/completions/adb.exp
deleted file mode 100644
index 0d41fd2d..00000000
--- a/test/lib/completions/adb.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "adb "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/add_members.exp b/test/lib/completions/add_members.exp
deleted file mode 100644
index 46c7a688..00000000
--- a/test/lib/completions/add_members.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "add_members -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/alias.exp b/test/lib/completions/alias.exp
index 2010df2d..c41417f1 100644
--- a/test/lib/completions/alias.exp
+++ b/test/lib/completions/alias.exp
@@ -15,13 +15,6 @@ proc teardown {} {
setup
-set test "Tab should complete alias"
- # Try completion
-set cmd "alias "
-assert_complete {bar foo} $cmd $test
-sync_after_int
-
-
set test "Tab should complete alias at cursor position"
# Try completion
set cmd "alias foo"
@@ -36,9 +29,4 @@ expect {
sync_after_int
-# FIXME: test case for "alias foo=<TAB>" -> "alias foo='bar'", this doesn't work
-#assert_complete {foo='bar'} "alias foo=" "" -nospace
-#sync_after_int
-
-
teardown
diff --git a/test/lib/completions/alpine.exp b/test/lib/completions/alpine.exp
deleted file mode 100644
index 5ae1901c..00000000
--- a/test/lib/completions/alpine.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "alpine -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/animate.exp b/test/lib/completions/animate.exp
deleted file mode 100644
index 12314d79..00000000
--- a/test/lib/completions/animate.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "animate "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ant.exp b/test/lib/completions/ant.exp
deleted file mode 100644
index bcf87711..00000000
--- a/test/lib/completions/ant.exp
+++ /dev/null
@@ -1,39 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {
- /OLDPWD=/d
- /ANT_ARGS=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "ant -"
-sync_after_int
-
-
-assert_complete_dir "bashcomp clean init realclean" "ant " $::srcdir/fixtures/ant
-sync_after_int
-
-
-assert_complete_dir "named-build" "ant -f named-build.xml " $::srcdir/fixtures/ant
-sync_after_int
-
-
-assert_complete_dir "build-with-import imported-build" "ant -f build-with-import.xml " $::srcdir/fixtures/ant
-sync_after_int
-
-
-assert_bash_exec {OLD_ANT_ARGS=$ANT_ARGS; ANT_ARGS="-f named-build.xml"}
-assert_complete_dir "named-build" "ant " $::srcdir/fixtures/ant "ant with buildfile from ANT_ARGS"
-sync_after_int
-assert_bash_exec {ANT_ARGS=$OLD_ANT_ARGS; unset -v OLD_ANT_ARGS}
-
-
-teardown
diff --git a/test/lib/completions/apache2ctl.exp b/test/lib/completions/apache2ctl.exp
deleted file mode 100644
index 88e53fc2..00000000
--- a/test/lib/completions/apache2ctl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "apache2ctl "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/appdata-validate.exp b/test/lib/completions/appdata-validate.exp
deleted file mode 100644
index 583c2952..00000000
--- a/test/lib/completions/appdata-validate.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "appdata-validate "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/apt-build.exp b/test/lib/completions/apt-build.exp
deleted file mode 100644
index 01ff04b4..00000000
--- a/test/lib/completions/apt-build.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "apt-build "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/apt-cache.exp b/test/lib/completions/apt-cache.exp
deleted file mode 100644
index 63be48a8..00000000
--- a/test/lib/completions/apt-cache.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "apt-cache "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/apt-get.exp b/test/lib/completions/apt-get.exp
deleted file mode 100644
index 8a5d3629..00000000
--- a/test/lib/completions/apt-get.exp
+++ /dev/null
@@ -1,29 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-set test "Tab should complete commands"
-set cmd "apt-get "
-send "$cmd\t"
-set expected "^$cmd\r\n.* install .* update .*\r\n/@$cmd$"
-expect {
- -re $expected { pass "$test" }
- default { fail "$test" }
-}
-sync_after_int
-
-
-assert_complete_dir "./bash-completion-test-subject.deb" "apt-get install ./" "$::srcdir/fixtures/dpkg"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/aptitude.exp b/test/lib/completions/aptitude.exp
deleted file mode 100644
index e6e82abb..00000000
--- a/test/lib/completions/aptitude.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "aptitude "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/arch.exp b/test/lib/completions/arch.exp
deleted file mode 100644
index 5bad0e60..00000000
--- a/test/lib/completions/arch.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "arch -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/arping.exp b/test/lib/completions/arping.exp
deleted file mode 100644
index 531bb07f..00000000
--- a/test/lib/completions/arping.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "arping "
-sync_after_int
-
-assert_complete_any "arping -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/arpspoof.exp b/test/lib/completions/arpspoof.exp
deleted file mode 100644
index 91ef5182..00000000
--- a/test/lib/completions/arpspoof.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "arpspoof -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/asciidoc.exp b/test/lib/completions/asciidoc.exp
deleted file mode 100644
index 86e7609a..00000000
--- a/test/lib/completions/asciidoc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "asciidoc "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/aspell.exp b/test/lib/completions/aspell.exp
deleted file mode 100644
index 9dd5f61a..00000000
--- a/test/lib/completions/aspell.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "aspell "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/autoconf.exp b/test/lib/completions/autoconf.exp
deleted file mode 100644
index 53b096db..00000000
--- a/test/lib/completions/autoconf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "autoconf "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/autoheader.exp b/test/lib/completions/autoheader.exp
deleted file mode 100644
index d85d4606..00000000
--- a/test/lib/completions/autoheader.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "autoheader "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/automake.exp b/test/lib/completions/automake.exp
deleted file mode 100644
index f875da56..00000000
--- a/test/lib/completions/automake.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "automake "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/autoreconf.exp b/test/lib/completions/autoreconf.exp
deleted file mode 100644
index 98808fb2..00000000
--- a/test/lib/completions/autoreconf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "autoreconf "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/autorpm.exp b/test/lib/completions/autorpm.exp
deleted file mode 100644
index 2ae4ff80..00000000
--- a/test/lib/completions/autorpm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "autorpm "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/autoscan.exp b/test/lib/completions/autoscan.exp
deleted file mode 100644
index f75da812..00000000
--- a/test/lib/completions/autoscan.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "autoscan "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/autoupdate.exp b/test/lib/completions/autoupdate.exp
deleted file mode 100644
index c83912dd..00000000
--- a/test/lib/completions/autoupdate.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "autoupdate "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/avctrl.exp b/test/lib/completions/avctrl.exp
deleted file mode 100644
index 6ca9de70..00000000
--- a/test/lib/completions/avctrl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "avctrl "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/awk.exp b/test/lib/completions/awk.exp
deleted file mode 100644
index 260dabcc..00000000
--- a/test/lib/completions/awk.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "awk "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/badblocks.exp b/test/lib/completions/badblocks.exp
deleted file mode 100644
index d453b5bd..00000000
--- a/test/lib/completions/badblocks.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "badblocks "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/base64.exp b/test/lib/completions/base64.exp
deleted file mode 100644
index 1f3f35cf..00000000
--- a/test/lib/completions/base64.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "base64 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/bash.exp b/test/lib/completions/bash.exp
deleted file mode 100644
index bf01e76d..00000000
--- a/test/lib/completions/bash.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "bash --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/bc.exp b/test/lib/completions/bc.exp
deleted file mode 100644
index 23c22b62..00000000
--- a/test/lib/completions/bc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "bc --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/bind.exp b/test/lib/completions/bind.exp
deleted file mode 100644
index 09bbaaa1..00000000
--- a/test/lib/completions/bind.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "bind -"
-sync_after_int
-
-assert_complete_any "bind k"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/bison.exp b/test/lib/completions/bison.exp
deleted file mode 100644
index 4bbb59fa..00000000
--- a/test/lib/completions/bison.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "bison --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/bk.exp b/test/lib/completions/bk.exp
deleted file mode 100644
index b652e6b0..00000000
--- a/test/lib/completions/bk.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "bk "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/brctl.exp b/test/lib/completions/brctl.exp
deleted file mode 100644
index 57c9edff..00000000
--- a/test/lib/completions/brctl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "brctl "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/btdownloadcurses.py.exp b/test/lib/completions/btdownloadcurses.py.exp
deleted file mode 100644
index 71a00de7..00000000
--- a/test/lib/completions/btdownloadcurses.py.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "btdownloadcurses.py "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/btdownloadgui.py.exp b/test/lib/completions/btdownloadgui.py.exp
deleted file mode 100644
index 65f56776..00000000
--- a/test/lib/completions/btdownloadgui.py.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "btdownloadgui.py "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/btdownloadheadless.py.exp b/test/lib/completions/btdownloadheadless.py.exp
deleted file mode 100644
index 3c833bb8..00000000
--- a/test/lib/completions/btdownloadheadless.py.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "btdownloadheadless.py "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/bts.exp b/test/lib/completions/bts.exp
deleted file mode 100644
index 38b92b9d..00000000
--- a/test/lib/completions/bts.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "bts -"
-sync_after_int
-
-assert_complete "bts "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/bzip2.exp b/test/lib/completions/bzip2.exp
deleted file mode 100644
index d806851a..00000000
--- a/test/lib/completions/bzip2.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "bzip2 "
-
-
-sync_after_int
-
-
-assert_complete_homedir "bzip"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/c++.exp b/test/lib/completions/c++.exp
deleted file mode 100644
index c899de27..00000000
--- a/test/lib/completions/c++.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "c++ "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cal.exp b/test/lib/completions/cal.exp
deleted file mode 100644
index bf7185e2..00000000
--- a/test/lib/completions/cal.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cal "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cancel.exp b/test/lib/completions/cancel.exp
deleted file mode 100644
index f4a03473..00000000
--- a/test/lib/completions/cancel.exp
+++ /dev/null
@@ -1,31 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
- # Adding a print job is successful?
-if {[assert_exec {lp -H hold $::srcdir/fixtures/shared/default/foo} job "" "untested"]} {
- # Yes, adding a print-job is successful;
- # Retrieve job-id, so we can cancel the job after the test
- set job_id [lindex [split $job] 3]
- # Retrieve list of all current print jobs
- assert_exec {lpstat | cut -d\040 -f1} jobs
- # Completion should show all print jobs
- assert_complete $jobs "cancel "
- # Remove/cancel the test print job
- assert_exec "cancel $job_id"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cardctl.exp b/test/lib/completions/cardctl.exp
deleted file mode 100644
index 9df90f48..00000000
--- a/test/lib/completions/cardctl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cardctl "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cat.exp b/test/lib/completions/cat.exp
deleted file mode 100644
index 01b3659e..00000000
--- a/test/lib/completions/cat.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cat "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cc.exp b/test/lib/completions/cc.exp
deleted file mode 100644
index eb722dea..00000000
--- a/test/lib/completions/cc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cc "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ccache.exp b/test/lib/completions/ccache.exp
deleted file mode 100644
index 7cb3103e..00000000
--- a/test/lib/completions/ccache.exp
+++ /dev/null
@@ -1,43 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ccache -"
-sync_after_int
-
-
-set test "Tab should offer correct options from partial option"
-assert_complete_partial [list "--cleanup" "--clear"] "ccache" "--clea" $test
-sync_after_int
-
-
-set test "Tab should complete a command after ccache"
-assert_complete [list "stty"] "ccache stt" $test
-sync_after_int
-
-
-set test "Tab should complete a command after ccache --FLAG"
-assert_complete [list "stty"] "ccache --zero-stats stt" $test
-sync_after_int
-
-
-set test "Tab should complete a command's flags after ccache"
-assert_complete [list "--help"] "ccache ls --hel" $test
-sync_after_int
-
-
-set test "Tab should complete a command's flags after ccache --FLAG"
-assert_complete [list "--help"] "ccache --zero-stats ls --hel" $test
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ccze.exp b/test/lib/completions/ccze.exp
deleted file mode 100644
index 94b51b39..00000000
--- a/test/lib/completions/ccze.exp
+++ /dev/null
@@ -1,27 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ccze "
-sync_after_int
-
-assert_no_complete "ccze -? "
-sync_after_int
-
-assert_complete_any "ccze -o "
-sync_after_int
-
-assert_complete_any "ccze --plugin="
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cd.exp b/test/lib/completions/cd.exp
index 6f36c881..ded094c3 100644
--- a/test/lib/completions/cd.exp
+++ b/test/lib/completions/cd.exp
@@ -11,13 +11,6 @@ proc teardown {} {
setup
-set test "Tab should complete"
-assert_complete {"bar bar.d/" foo.d/} "cd $::srcdir/fixtures/shared/default/" $test
-
-
-sync_after_int
-
-
set test "Tab should complete cd at cursor position"
# Try completion
set cmd "cd $::srcdir/fixtures/shared/default/foo"
@@ -35,23 +28,4 @@ expect {
sync_after_int
-set test "Tab should complete CDPATH"
- # Set CDPATH
-assert_bash_exec "declare -p CDPATH &>/dev/null && OLDCDPATH=\$CDPATH || :"
-assert_bash_exec "CDPATH=\$PWD";
-assert_complete "$::srcdir/fixtures/shared/default/foo.d/" \
- "cd $::srcdir/fixtures/shared/default/fo" $test -nospace -expect-cmd-minus fo
-sync_after_int
-
-assert_bash_exec "unset CDPATH"
-# Assuming no subdirs here
-assert_bash_exec "cd $::srcdir/fixtures/shared/default/foo.d"
-assert_no_complete "cd " "cd shouldn't complete when there are no subdirs or CDPATH"
-sync_after_int
-
- # Reset PWD and CDPATH
-assert_bash_exec "cd \"\$OLDPWD\""
-assert_bash_exec "declare -p OLDCDPATH &>/dev/null && CDPATH=\$OLDCDPATH || unset CDPATH && unset OLDCDPATH"
-
-
teardown
diff --git a/test/lib/completions/cdrecord.exp b/test/lib/completions/cdrecord.exp
deleted file mode 100644
index 192d2ded..00000000
--- a/test/lib/completions/cdrecord.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cdrecord -d"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cfagent.exp b/test/lib/completions/cfagent.exp
deleted file mode 100644
index aa5c88cb..00000000
--- a/test/lib/completions/cfagent.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cfagent -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cfrun.exp b/test/lib/completions/cfrun.exp
deleted file mode 100644
index 2cf6a4cb..00000000
--- a/test/lib/completions/cfrun.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cfrun -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chage.exp b/test/lib/completions/chage.exp
deleted file mode 100644
index e5399054..00000000
--- a/test/lib/completions/chage.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chage "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/change_pw.exp b/test/lib/completions/change_pw.exp
deleted file mode 100644
index 28301941..00000000
--- a/test/lib/completions/change_pw.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "change_pw -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/check_db.exp b/test/lib/completions/check_db.exp
deleted file mode 100644
index fe34ead2..00000000
--- a/test/lib/completions/check_db.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "check_db -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/check_perms.exp b/test/lib/completions/check_perms.exp
deleted file mode 100644
index b40b78fc..00000000
--- a/test/lib/completions/check_perms.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "check_perms -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/checksec.exp b/test/lib/completions/checksec.exp
deleted file mode 100644
index 03abd575..00000000
--- a/test/lib/completions/checksec.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "checksec -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chfn.exp b/test/lib/completions/chfn.exp
deleted file mode 100644
index ea977c76..00000000
--- a/test/lib/completions/chfn.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chfn "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chgrp.exp b/test/lib/completions/chgrp.exp
deleted file mode 100644
index e9238bde..00000000
--- a/test/lib/completions/chgrp.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chgrp "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chkconfig.exp b/test/lib/completions/chkconfig.exp
deleted file mode 100644
index 1714144d..00000000
--- a/test/lib/completions/chkconfig.exp
+++ /dev/null
@@ -1,27 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chkconfig -"
-sync_after_int
-
-
-# systemd may not be running e.g. in a docker container, and listing services
-# will then fail.
-if {[assert_exec {systemctl list-units} "" "" "unsupported" ]} {
- # TODO test this also if systemctl command is not available at all
- assert_complete_any "chkconfig "
-}
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chown.exp b/test/lib/completions/chown.exp
index 6bfd9d05..792d52a9 100644
--- a/test/lib/completions/chown.exp
+++ b/test/lib/completions/chown.exp
@@ -12,13 +12,6 @@ proc teardown {} {
setup
-set users [exec bash -c "compgen -A user"]
-assert_complete $users "chown "
-
-
-sync_after_int
-
-
# Find user/group suitable for testing.
set failed_find_unique_completion 0
foreach ug {user group} {
@@ -34,14 +27,6 @@ foreach ug {user group} {
# These tests require an unique completion.
if {!$failed_find_unique_completion} {
- assert_complete $fulluser "chown $partuser"
- sync_after_int
-
- assert_complete $fulluser:$fullgroup "chown $fulluser:$partgroup"
- sync_after_int
-
- assert_complete "dot.user:$fullgroup" "chown dot.user:$partgroup"
- sync_after_int
foreach prefix {
"funky\\ user:" "funky.user:" "funky\\.user:" "fu\\ nky.user:"
@@ -52,28 +37,7 @@ if {!$failed_find_unique_completion} {
assert_complete $prefix$fullgroup "chown $prefix$partgroup" $test
sync_after_int
}
-
- # Check that we give up in degenerate cases instead of spewing various junk.
-
- assert_no_complete "chown $fulluser\\\\:$partgroup"
- sync_after_int
-
- assert_no_complete "chown $fulluser\\\\\\:$partgroup"
- sync_after_int
-
- assert_no_complete "chown $fulluser\\\\\\\\:$partgroup"
- sync_after_int
-
- # Colons in user/groupnames are not usually allowed.
- assert_no_complete "chown foo:bar:$partgroup"
- sync_after_int
}
-assert_complete {bar "bar bar.d/" foo foo.d/} "chown foo: $::srcdir/fixtures/shared/default/"
-sync_after_int
-
-assert_complete {bar "bar bar.d/" foo foo.d/} "chown :foo $::srcdir/fixtures/shared/default/"
-sync_after_int
-
teardown
diff --git a/test/lib/completions/chpasswd.exp b/test/lib/completions/chpasswd.exp
deleted file mode 100644
index 84c3345f..00000000
--- a/test/lib/completions/chpasswd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chpasswd -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chronyc.exp b/test/lib/completions/chronyc.exp
deleted file mode 100644
index 33458113..00000000
--- a/test/lib/completions/chronyc.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chronyc -"
-sync_after_int
-
-assert_complete_any "chronyc "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chroot.exp b/test/lib/completions/chroot.exp
deleted file mode 100644
index ba9f63a1..00000000
--- a/test/lib/completions/chroot.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chroot "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chrpath.exp b/test/lib/completions/chrpath.exp
deleted file mode 100644
index 311628eb..00000000
--- a/test/lib/completions/chrpath.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chrpath "
-sync_after_int
-
-assert_complete_any "chrpath -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/chsh.exp b/test/lib/completions/chsh.exp
deleted file mode 100644
index 6736c18c..00000000
--- a/test/lib/completions/chsh.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "chsh -s "
-
-
-sync_after_int
-
-
-assert_complete_any "chsh "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ci.exp b/test/lib/completions/ci.exp
deleted file mode 100644
index 15ef2ecc..00000000
--- a/test/lib/completions/ci.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ci "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ciptool.exp b/test/lib/completions/ciptool.exp
deleted file mode 100644
index cefe8f92..00000000
--- a/test/lib/completions/ciptool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ciptool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/civclient.exp b/test/lib/completions/civclient.exp
deleted file mode 100644
index c0047468..00000000
--- a/test/lib/completions/civclient.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "civclient -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/civserver.exp b/test/lib/completions/civserver.exp
deleted file mode 100644
index 3739f50e..00000000
--- a/test/lib/completions/civserver.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "civserver -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cksfv.exp b/test/lib/completions/cksfv.exp
deleted file mode 100644
index 2b9be04c..00000000
--- a/test/lib/completions/cksfv.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cksfv -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cleanarch.exp b/test/lib/completions/cleanarch.exp
deleted file mode 100644
index a5f3bfe6..00000000
--- a/test/lib/completions/cleanarch.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cleanarch -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/clisp.exp b/test/lib/completions/clisp.exp
deleted file mode 100644
index dfbad4f3..00000000
--- a/test/lib/completions/clisp.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "clisp "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/clone_member.exp b/test/lib/completions/clone_member.exp
deleted file mode 100644
index d83d73bc..00000000
--- a/test/lib/completions/clone_member.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "clone_member -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/co.exp b/test/lib/completions/co.exp
deleted file mode 100644
index 215268b6..00000000
--- a/test/lib/completions/co.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "co "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/compare.exp b/test/lib/completions/compare.exp
deleted file mode 100644
index 006d70a1..00000000
--- a/test/lib/completions/compare.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "compare "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/complete.exp b/test/lib/completions/complete.exp
deleted file mode 100644
index 9d898c51..00000000
--- a/test/lib/completions/complete.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "complete -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/composite.exp b/test/lib/completions/composite.exp
deleted file mode 100644
index aba9af3b..00000000
--- a/test/lib/completions/composite.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "composite "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/config_list.exp b/test/lib/completions/config_list.exp
deleted file mode 100644
index 27699239..00000000
--- a/test/lib/completions/config_list.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "config_list -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/configure.exp b/test/lib/completions/configure.exp
deleted file mode 100644
index 1be8e167..00000000
--- a/test/lib/completions/configure.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- # Make sure our own ./configure is in PATH
- assert_bash_exec {OLDPATH="$PATH"; PATH="$SRCDIR/..:$PATH"}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
- assert_bash_exec {PATH="$OLDPATH"; unset -v OLDPATH}
-}
-
-
-setup
-
-
-assert_complete_any "configure --"
-sync_after_int
-
-assert_complete_any "configure --prefix "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/conjure.exp b/test/lib/completions/conjure.exp
deleted file mode 100644
index 4f628af3..00000000
--- a/test/lib/completions/conjure.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "conjure "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/convert.exp b/test/lib/completions/convert.exp
deleted file mode 100644
index b3a2e565..00000000
--- a/test/lib/completions/convert.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "convert "
-sync_after_int
-
-
-assert_complete_any "convert -format "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cowsay.exp b/test/lib/completions/cowsay.exp
deleted file mode 100644
index 382f400f..00000000
--- a/test/lib/completions/cowsay.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cowsay "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cp.exp b/test/lib/completions/cp.exp
deleted file mode 100644
index 703bf263..00000000
--- a/test/lib/completions/cp.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cp "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cpan2dist.exp b/test/lib/completions/cpan2dist.exp
deleted file mode 100644
index 1c7836ad..00000000
--- a/test/lib/completions/cpan2dist.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cpan2dist -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cpio.exp b/test/lib/completions/cpio.exp
deleted file mode 100644
index 93f6f3c1..00000000
--- a/test/lib/completions/cpio.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cpio --"
-
-
-sync_after_int
-
-
-assert_complete [exec bash -c "compgen -A user"] "cpio -R "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cppcheck.exp b/test/lib/completions/cppcheck.exp
deleted file mode 100644
index 80b6e7b6..00000000
--- a/test/lib/completions/cppcheck.exp
+++ /dev/null
@@ -1,42 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cppcheck "
-sync_after_int
-
-
-assert_complete_any "cppcheck -"
-sync_after_int
-
-
-assert_complete_any "cppcheck -DFOO=BAR "
-sync_after_int
-
-
-assert_no_complete "cppcheck -D "
-sync_after_int
-
-
-assert_complete "--enable=all" "cppcheck --enable=al"
-sync_after_int
-
-
-assert_complete "--enable=xx,style" "cppcheck --enable=xx,styl"
-sync_after_int
-
-
-assert_complete "--enable=xx,yy,style" "cppcheck --enable=xx,yy,styl"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/createdb.exp b/test/lib/completions/createdb.exp
deleted file mode 100644
index 234817f9..00000000
--- a/test/lib/completions/createdb.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "createdb -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/createuser.exp b/test/lib/completions/createuser.exp
deleted file mode 100644
index 87d4ac87..00000000
--- a/test/lib/completions/createuser.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "createuser -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/crontab.exp b/test/lib/completions/crontab.exp
deleted file mode 100644
index 18e2269f..00000000
--- a/test/lib/completions/crontab.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "crontab "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cryptsetup.exp b/test/lib/completions/cryptsetup.exp
deleted file mode 100644
index 4c20bc5d..00000000
--- a/test/lib/completions/cryptsetup.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cryptsetup "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/csplit.exp b/test/lib/completions/csplit.exp
deleted file mode 100644
index 87b89dea..00000000
--- a/test/lib/completions/csplit.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "csplit "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/curl.exp b/test/lib/completions/curl.exp
deleted file mode 100644
index e05c023e..00000000
--- a/test/lib/completions/curl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "curl --h"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cut.exp b/test/lib/completions/cut.exp
deleted file mode 100644
index edb558ea..00000000
--- a/test/lib/completions/cut.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "cut "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cvs.exp b/test/lib/completions/cvs.exp
deleted file mode 100644
index 9248edc8..00000000
--- a/test/lib/completions/cvs.exp
+++ /dev/null
@@ -1,41 +0,0 @@
-proc setup {} {
- save_env
- assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIR/fixtures/cvs}
-}
-
-
-proc teardown {} {
- assert_bash_exec {HOME=$OLDHOME}
- assert_env_unmodified {
- /OLDHOME=/d
- /OLDPWD=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "cvs "
-
-
-sync_after_int
-
-
-set test "-d should complete CVS roots"
-set cmd "cvs -d "
-send "$cmd\t"
-expect {
- -re "^$cmd\r\n.*:pserver:.*\r\n/@$cmd:pserver:.*$" { pass "$test" }
- default { fail "$test" }
-}
-
-
-sync_after_int
-
-
-assert_complete_dir "foo/bar" "cvs diff foo/" $::srcdir/fixtures/cvs
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/cvsps.exp b/test/lib/completions/cvsps.exp
deleted file mode 100644
index 6cf95ac1..00000000
--- a/test/lib/completions/cvsps.exp
+++ /dev/null
@@ -1,36 +0,0 @@
-proc setup {} {
- save_env
- assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIR/fixtures/cvs}
-}
-
-
-proc teardown {} {
- assert_bash_exec {HOME=$OLDHOME}
- assert_env_unmodified {
- /OLDHOME=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "cvsps -"
-
-
-sync_after_int
-
-
-set test "No arguments should complete CVS roots"
-set cmd "cvsps "
-send "$cmd\t"
-expect {
- -re "^$cmd\r\n.*:pserver:.*\r\n/@$cmd:pserver:.*$" { pass "$test" }
- default { fail "$test" }
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/date.exp b/test/lib/completions/date.exp
deleted file mode 100644
index ee970cf7..00000000
--- a/test/lib/completions/date.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "date "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dcop.exp b/test/lib/completions/dcop.exp
deleted file mode 100644
index dcff2802..00000000
--- a/test/lib/completions/dcop.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {dcop} words "" "untested"]} {
- assert_complete $words "dcop "
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dd.exp b/test/lib/completions/dd.exp
deleted file mode 100644
index 4946e54d..00000000
--- a/test/lib/completions/dd.exp
+++ /dev/null
@@ -1,33 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dd --"
-
-
-sync_after_int
-
-
-set test "option should be suffixed with ="
-set cmd "dd bs"
-send "$cmd\t"
-expect -ex "$cmd"
-expect {
- -re "^=$" { pass $test }
- -re {^\\=$} { xfail $test }
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/declare.exp b/test/lib/completions/declare.exp
deleted file mode 100644
index 8830b676..00000000
--- a/test/lib/completions/declare.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "declare -"
-sync_after_int
-
-assert_complete_any "declare +"
-sync_after_int
-
-assert_complete {BASH_ARGC BASH_ARGV} "declare -p BASH_ARG"
-sync_after_int
-
-assert_complete_any "declare -f _parse_"
-sync_after_int
-
-teardown
diff --git a/test/lib/completions/deja-dup.exp b/test/lib/completions/deja-dup.exp
deleted file mode 100644
index d46549cf..00000000
--- a/test/lib/completions/deja-dup.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "deja-dup -"
-sync_after_int
-
-assert_no_complete "deja-dup --help "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/desktop-file-validate.exp b/test/lib/completions/desktop-file-validate.exp
deleted file mode 100644
index 40cbf82f..00000000
--- a/test/lib/completions/desktop-file-validate.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "desktop-file-validate "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/df.exp b/test/lib/completions/df.exp
deleted file mode 100644
index acf212a9..00000000
--- a/test/lib/completions/df.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "df "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dfutool.exp b/test/lib/completions/dfutool.exp
deleted file mode 100644
index 10e48544..00000000
--- a/test/lib/completions/dfutool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dfutool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dhclient.exp b/test/lib/completions/dhclient.exp
deleted file mode 100644
index 6caff5fc..00000000
--- a/test/lib/completions/dhclient.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dhclient -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dict.exp b/test/lib/completions/dict.exp
deleted file mode 100644
index 402e0c5c..00000000
--- a/test/lib/completions/dict.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dict -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/diff.exp b/test/lib/completions/diff.exp
deleted file mode 100644
index 918bf7fd..00000000
--- a/test/lib/completions/diff.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "diff --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dir.exp b/test/lib/completions/dir.exp
deleted file mode 100644
index c9f61cd5..00000000
--- a/test/lib/completions/dir.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dir "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/display.exp b/test/lib/completions/display.exp
deleted file mode 100644
index 70cea182..00000000
--- a/test/lib/completions/display.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "display "
-
-
-sync_after_int
-
-
-assert_complete_any "display -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dmesg.exp b/test/lib/completions/dmesg.exp
deleted file mode 100644
index 79f2e04a..00000000
--- a/test/lib/completions/dmesg.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dmesg -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dnsspoof.exp b/test/lib/completions/dnsspoof.exp
deleted file mode 100644
index 4aefb956..00000000
--- a/test/lib/completions/dnsspoof.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dnsspoof -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dot.exp b/test/lib/completions/dot.exp
deleted file mode 100644
index 2a85a56b..00000000
--- a/test/lib/completions/dot.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dot "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dpkg-deb.exp b/test/lib/completions/dpkg-deb.exp
deleted file mode 100644
index 37ece08d..00000000
--- a/test/lib/completions/dpkg-deb.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dpkg-deb --c"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dpkg-reconfigure.exp b/test/lib/completions/dpkg-reconfigure.exp
deleted file mode 100644
index 0212666b..00000000
--- a/test/lib/completions/dpkg-reconfigure.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dpkg-reconfigure --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dpkg-source.exp b/test/lib/completions/dpkg-source.exp
deleted file mode 100644
index a42759b9..00000000
--- a/test/lib/completions/dpkg-source.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dpkg-source -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dpkg.exp b/test/lib/completions/dpkg.exp
deleted file mode 100644
index b69f79fd..00000000
--- a/test/lib/completions/dpkg.exp
+++ /dev/null
@@ -1,29 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dpkg --c"
-sync_after_int
-
-
-# Build list of installed packages
-if {[assert_exec {dpkg --get-selections | command grep \[\[:space:\]\]install$ | cut -f1} packages "" "untested"]} {
- assert_complete $packages "dpkg -L "
-}
-sync_after_int
-
-
-assert_complete_homedir "dpkg -i"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dropdb.exp b/test/lib/completions/dropdb.exp
deleted file mode 100644
index d68cd48a..00000000
--- a/test/lib/completions/dropdb.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dropdb -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dropuser.exp b/test/lib/completions/dropuser.exp
deleted file mode 100644
index 8b36fa5e..00000000
--- a/test/lib/completions/dropuser.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dropuser "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dselect.exp b/test/lib/completions/dselect.exp
deleted file mode 100644
index 634db05e..00000000
--- a/test/lib/completions/dselect.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dselect "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dsniff.exp b/test/lib/completions/dsniff.exp
deleted file mode 100644
index cb8912b6..00000000
--- a/test/lib/completions/dsniff.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dsniff -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/du.exp b/test/lib/completions/du.exp
deleted file mode 100644
index 6ddeb9b2..00000000
--- a/test/lib/completions/du.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "du "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dumpdb.exp b/test/lib/completions/dumpdb.exp
deleted file mode 100644
index 5b617b11..00000000
--- a/test/lib/completions/dumpdb.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dumpdb "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/dumpe2fs.exp b/test/lib/completions/dumpe2fs.exp
deleted file mode 100644
index e935c504..00000000
--- a/test/lib/completions/dumpe2fs.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "dumpe2fs "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/e2freefrag.exp b/test/lib/completions/e2freefrag.exp
deleted file mode 100644
index 1530c9c9..00000000
--- a/test/lib/completions/e2freefrag.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "e2freefrag "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/e2label.exp b/test/lib/completions/e2label.exp
deleted file mode 100644
index 8ae7f443..00000000
--- a/test/lib/completions/e2label.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "e2label "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ebtables.exp b/test/lib/completions/ebtables.exp
deleted file mode 100644
index e8feea55..00000000
--- a/test/lib/completions/ebtables.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ebtables -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/eject.exp b/test/lib/completions/eject.exp
deleted file mode 100644
index 8de109d4..00000000
--- a/test/lib/completions/eject.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "eject -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/enscript.exp b/test/lib/completions/enscript.exp
deleted file mode 100644
index c859b50f..00000000
--- a/test/lib/completions/enscript.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "enscript --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/env.exp b/test/lib/completions/env.exp
deleted file mode 100644
index 4f213748..00000000
--- a/test/lib/completions/env.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {env --help} "" "" "unsupported"]} {
- assert_complete_any "env --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/eog.exp b/test/lib/completions/eog.exp
deleted file mode 100644
index b708c564..00000000
--- a/test/lib/completions/eog.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "eog "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ether-wake.exp b/test/lib/completions/ether-wake.exp
deleted file mode 100644
index fe1aa174..00000000
--- a/test/lib/completions/ether-wake.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ether-wake "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/evince.exp b/test/lib/completions/evince.exp
deleted file mode 100644
index 204467a1..00000000
--- a/test/lib/completions/evince.exp
+++ /dev/null
@@ -1,35 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-# NOTE: The directory `fixtures/evince' contains an additional subdir `foo'
-# (should be visible as completion) and an additional file `.txt'
-# (shouldn't be visible as completion)
-set files {
- foo/
- .bmp .BMP .cbr .CBR .cbz .CBZ .djv .DJV .djvu .DJVU
- .dvi .DVI .dvi.bz2 .dvi.BZ2 .DVI.bz2 .DVI.BZ2 .dvi.gz .dvi.GZ .DVI.gz .DVI.GZ
- .eps .EPS .eps.bz2 .eps.BZ2 .EPS.bz2 .EPS.BZ2 .eps.gz .eps.GZ .EPS.gz .EPS.GZ
- .gif .GIF .ico .ICO .jpeg .JPEG .jpg .JPG .miff .MIFF .pbm .PBM .pcx .PCX
- .pdf .PDF .pdf.bz2 .pdf.BZ2 .PDF.bz2 .PDF.BZ2 .pdf.gz .pdf.GZ .PDF.gz .PDF.GZ
- .pgm .PGM .png .PNG .pnm .PNM .ppm .PPM
- .ps .PS .ps.bz2 .ps.BZ2 .PS.bz2 .PS.BZ2 .ps.gz .ps.GZ .PS.gz .PS.GZ
- .tga .TGA .tif .TIF .tiff .TIFF
- .xpm .XPM .xwd .XWD
-}
-assert_complete_dir $files "evince " "$::srcdir/fixtures/evince"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/expand.exp b/test/lib/completions/expand.exp
deleted file mode 100644
index 76b6eafa..00000000
--- a/test/lib/completions/expand.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {expand --help} "" "" "unsupported"]} {
- assert_complete_any "expand --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/explodepkg.exp b/test/lib/completions/explodepkg.exp
deleted file mode 100644
index e5ee35e4..00000000
--- a/test/lib/completions/explodepkg.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-set test "should complete *.t\[gbxl\]z files and dirs"
-set dir $::srcdir/fixtures/slackware/home
-set files [split [exec bash -c "cd $dir && find . -mindepth 1 -maxdepth 1 \
- \\( -type d -printf '%P/\\n' \\) -o \
- \\( -type f -name '*.t\[bglx\]z' -printf '%P\\n' \\)"] "\n"]
-assert_complete_dir $files "explodepkg " $dir $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/export.exp b/test/lib/completions/export.exp
deleted file mode 100644
index 84cb9170..00000000
--- a/test/lib/completions/export.exp
+++ /dev/null
@@ -1,55 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {
- /OLDPWD=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "export BASH"
-sync_after_int
-
-
-assert_complete_any "export -n BASH"
-sync_after_int
-
-
-assert_no_complete "export -p "
-sync_after_int
-
-
-assert_complete_dir {bar "bar bar.d/" foo foo.d/} "export FOO=" \
- fixtures/shared/default
-sync_after_int
-
-
-assert_complete_dir {foo foo.d/} "export FOO=f" fixtures/shared/default "" \
- -expect-cmd-minus f
-sync_after_int
-
-
-# Functions: _export, _expand, ...
-assert_complete_any "export -fn _ex"
-sync_after_int
-
-
-assert_complete_any "export -f -n _ex"
-sync_after_int
-
-
-assert_complete_any "export FOO=\$BASH"
-sync_after_int
-
-
-assert_complete_any "export -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/faillog.exp b/test/lib/completions/faillog.exp
deleted file mode 100644
index 9ccd1ad2..00000000
--- a/test/lib/completions/faillog.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "faillog -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/fbgs.exp b/test/lib/completions/fbgs.exp
deleted file mode 100644
index 45fa22df..00000000
--- a/test/lib/completions/fbgs.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "fbgs "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/fbi.exp b/test/lib/completions/fbi.exp
deleted file mode 100644
index 9c583062..00000000
--- a/test/lib/completions/fbi.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "fbi "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/feh.exp b/test/lib/completions/feh.exp
deleted file mode 100644
index 28e90d99..00000000
--- a/test/lib/completions/feh.exp
+++ /dev/null
@@ -1,57 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "feh "
-
-
-sync_after_int
-
-
-if {[assert_exec {feh --help | grep "man feh" || exit 1} "" "" "unsupported"]} {
- set test "--lis<TAB> should complete \"--list\""
- assert_complete "--list" "feh --lis" $test
-}
-
-
-sync_after_int
-
-
-set test "-S pix<TAB> should complete \"pixels\""
-assert_complete "pixels" "feh -S pix" $test
-
-
-sync_after_int
-
-
-set test "--zoom ma<TAB> should complete \"max\""
-assert_complete "max" "feh --zoom ma" $test
-
-
-sync_after_int
-
-
-set test "-g 640<TAB> should complete digits plus \"x\""
-assert_complete "0 1 2 3 4 5 6 7 8 9 x" "feh -g 640" $test
-
-
-sync_after_int
-
-
-set test "-g 640x48<TAB> should complete digits"
-assert_complete "0 1 2 3 4 5 6 7 8 9" "feh -g 640x48" $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/file-roller.exp b/test/lib/completions/file-roller.exp
deleted file mode 100644
index 942941d0..00000000
--- a/test/lib/completions/file-roller.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "file-roller "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/file.exp b/test/lib/completions/file.exp
deleted file mode 100644
index 346960b6..00000000
--- a/test/lib/completions/file.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "file "
-sync_after_int
-
-assert_complete_any "file -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/filefrag.exp b/test/lib/completions/filefrag.exp
deleted file mode 100644
index fa80cd05..00000000
--- a/test/lib/completions/filefrag.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "filefrag "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/filesnarf.exp b/test/lib/completions/filesnarf.exp
deleted file mode 100644
index 03755056..00000000
--- a/test/lib/completions/filesnarf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "filesnarf -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/find.exp b/test/lib/completions/find.exp
deleted file mode 100644
index 96d55334..00000000
--- a/test/lib/completions/find.exp
+++ /dev/null
@@ -1,78 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-assert_complete_any "find "
-
-
-sync_after_int
-
-
-assert_complete_any "find -fstype "
-
-
-sync_after_int
-
-
-set options [list -daystart -depth -follow -help \
- -ignore_readdir_race -maxdepth -mindepth -mindepth -mount \
- -noignore_readdir_race -noleaf -regextype -version -warn -nowarn \
- -xdev \
- -amin -anewer -atime -cmin -cnewer -ctime -empty -executable -false \
- -fstype -gid -group -ilname -iname -inum -ipath -iregex -iwholename \
- -links -lname -mmin -mtime -name -newer -nogroup -nouser -path -perm \
- -readable -regex -samefile -size -true -type -uid -used -user \
- -wholename -writable -xtype -context \
- -delete -exec -execdir -fls -fprint -fprint0 -fprintf -ls -ok -okdir \
- -print -print0 -printf -prune -quit]
-assert_complete $options {find -}
-
-
-sync_after_int
-
-
-set test "-wholename should complete files/dirs"
-set dir $::srcdir/fixtures/shared/default
-set files [split [exec bash -c "cd $dir && ls -p"] "\n"]
-assert_complete_dir $files "find -wholename " $dir $test
-
-
-sync_after_int
-
-
-set test "-uid should complete uids"
-set cmd "find -uid "
-send "$cmd\t"
-expect {
- -re "$cmd\r\n\\d+.*/@$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-set test "-gid should complete gids"
-set cmd "find -gid "
-send "$cmd\t"
-expect {
- -re "$cmd\r\n\\d+.*/@$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/find_member.exp b/test/lib/completions/find_member.exp
deleted file mode 100644
index 55672091..00000000
--- a/test/lib/completions/find_member.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "find_member -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/finger.exp b/test/lib/completions/finger.exp
index 5a3d3e9e..fa9f5b6b 100644
--- a/test/lib/completions/finger.exp
+++ b/test/lib/completions/finger.exp
@@ -11,15 +11,6 @@ proc teardown {} {
setup
-set test "Tab should complete usernames"
-# Build string list of usernames
-set users {}
-foreach u [exec bash -c "compgen -A user -S @"] {
- lappend users $u
-}
-assert_complete $users "finger " $test
-
-
sync_after_int
diff --git a/test/lib/completions/flake8.exp b/test/lib/completions/flake8.exp
deleted file mode 100644
index 146ff04d..00000000
--- a/test/lib/completions/flake8.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "flake8 "
-sync_after_int
-
-assert_complete_any "flake8 -"
-sync_after_int
-
-assert_no_complete "flake8 --doesnt-exist="
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/fmt.exp b/test/lib/completions/fmt.exp
deleted file mode 100644
index 7d3cc17f..00000000
--- a/test/lib/completions/fmt.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {fmt --help} "" "" "unsupported"]} {
- assert_complete_any "fmt -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/fold.exp b/test/lib/completions/fold.exp
deleted file mode 100644
index f447f08b..00000000
--- a/test/lib/completions/fold.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {fold --help} "" "" "unsupported"]} {
- assert_complete_any "fold --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/freebsd-update.exp b/test/lib/completions/freebsd-update.exp
deleted file mode 100644
index 3657ebfd..00000000
--- a/test/lib/completions/freebsd-update.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "freebsd-update "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/freeciv-gtk2.exp b/test/lib/completions/freeciv-gtk2.exp
deleted file mode 100644
index 1c0ec474..00000000
--- a/test/lib/completions/freeciv-gtk2.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "freeciv-gtk2 -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/freeciv-server.exp b/test/lib/completions/freeciv-server.exp
deleted file mode 100644
index a9431848..00000000
--- a/test/lib/completions/freeciv-server.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "freeciv-server -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/freerdp.exp b/test/lib/completions/freerdp.exp
deleted file mode 100644
index be61d459..00000000
--- a/test/lib/completions/freerdp.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xfreerdp"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/function.exp b/test/lib/completions/function.exp
deleted file mode 100644
index 823811f1..00000000
--- a/test/lib/completions/function.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "function _parse_"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/fusermount.exp b/test/lib/completions/fusermount.exp
deleted file mode 100644
index f6ac4f5d..00000000
--- a/test/lib/completions/fusermount.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "fusermount "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/g++.exp b/test/lib/completions/g++.exp
deleted file mode 100644
index 4dbe73f4..00000000
--- a/test/lib/completions/g++.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "g++ "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/g4.exp b/test/lib/completions/g4.exp
deleted file mode 100644
index 7d575f10..00000000
--- a/test/lib/completions/g4.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "g4 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/g77.exp b/test/lib/completions/g77.exp
deleted file mode 100644
index e23745b7..00000000
--- a/test/lib/completions/g77.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "g77 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gcc.exp b/test/lib/completions/gcc.exp
deleted file mode 100644
index 00097cc2..00000000
--- a/test/lib/completions/gcc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gcc "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gcj.exp b/test/lib/completions/gcj.exp
deleted file mode 100644
index cde07700..00000000
--- a/test/lib/completions/gcj.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gcj "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gcl.exp b/test/lib/completions/gcl.exp
deleted file mode 100644
index 1846d0d1..00000000
--- a/test/lib/completions/gcl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gcl "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gdb.exp b/test/lib/completions/gdb.exp
deleted file mode 100644
index 2e389edb..00000000
--- a/test/lib/completions/gdb.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gdb - "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/genaliases.exp b/test/lib/completions/genaliases.exp
deleted file mode 100644
index bb4d5e0e..00000000
--- a/test/lib/completions/genaliases.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "genaliases -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gendiff.exp b/test/lib/completions/gendiff.exp
deleted file mode 100644
index cc1ebb68..00000000
--- a/test/lib/completions/gendiff.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gendiff "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/genisoimage.exp b/test/lib/completions/genisoimage.exp
deleted file mode 100644
index 5379f047..00000000
--- a/test/lib/completions/genisoimage.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "genisoimage "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/geoiplookup.exp b/test/lib/completions/geoiplookup.exp
deleted file mode 100644
index 89166401..00000000
--- a/test/lib/completions/geoiplookup.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "geoiplookup -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/getconf.exp b/test/lib/completions/getconf.exp
deleted file mode 100644
index a599fed1..00000000
--- a/test/lib/completions/getconf.exp
+++ /dev/null
@@ -1,30 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "getconf P"
-sync_after_int
-
-assert_complete_any "getconf -"
-sync_after_int
-
-assert_complete_any "getconf -a "
-sync_after_int
-
-assert_complete_any "getconf -v "
-sync_after_int
-
-assert_complete_any "getconf PATH_MAX "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/getent.exp b/test/lib/completions/getent.exp
deleted file mode 100644
index 6500b22d..00000000
--- a/test/lib/completions/getent.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "getent "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gkrellm.exp b/test/lib/completions/gkrellm.exp
deleted file mode 100644
index 009770fc..00000000
--- a/test/lib/completions/gkrellm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gkrellm -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gm.exp b/test/lib/completions/gm.exp
deleted file mode 100644
index 43f0bce2..00000000
--- a/test/lib/completions/gm.exp
+++ /dev/null
@@ -1,27 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gm "
-sync_after_int
-
-assert_complete_any "gm help "
-sync_after_int
-
-assert_complete_any "gm time "
-sync_after_int
-
-assert_no_complete "gm version "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gmplayer.exp b/test/lib/completions/gmplayer.exp
deleted file mode 100644
index a110cb2f..00000000
--- a/test/lib/completions/gmplayer.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gmplayer "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gnatmake.exp b/test/lib/completions/gnatmake.exp
deleted file mode 100644
index bad4da33..00000000
--- a/test/lib/completions/gnatmake.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gnatmake "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gnokii.exp b/test/lib/completions/gnokii.exp
deleted file mode 100644
index 11bfeb6c..00000000
--- a/test/lib/completions/gnokii.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gnokii "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gnome-mplayer.exp b/test/lib/completions/gnome-mplayer.exp
deleted file mode 100644
index fd635bff..00000000
--- a/test/lib/completions/gnome-mplayer.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gnome-mplayer "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gpasswd.exp b/test/lib/completions/gpasswd.exp
deleted file mode 100644
index 68ac2cc3..00000000
--- a/test/lib/completions/gpasswd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gpasswd "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gpc.exp b/test/lib/completions/gpc.exp
deleted file mode 100644
index 71eddacc..00000000
--- a/test/lib/completions/gpc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gpc "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gperf.exp b/test/lib/completions/gperf.exp
deleted file mode 100644
index 1cf77678..00000000
--- a/test/lib/completions/gperf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gperf --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gpg.exp b/test/lib/completions/gpg.exp
deleted file mode 100644
index ea6805fa..00000000
--- a/test/lib/completions/gpg.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gpg "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gpg2.exp b/test/lib/completions/gpg2.exp
deleted file mode 100644
index 3bc0e7a7..00000000
--- a/test/lib/completions/gpg2.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gpg2 --h"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gphoto2.exp b/test/lib/completions/gphoto2.exp
deleted file mode 100644
index 90dc1e5e..00000000
--- a/test/lib/completions/gphoto2.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "gphoto2 --"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gprof.exp b/test/lib/completions/gprof.exp
deleted file mode 100644
index 996a1efd..00000000
--- a/test/lib/completions/gprof.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {gprof --help} "" "" "unsupported"]} {
- assert_complete_any "gprof --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/grep.exp b/test/lib/completions/grep.exp
deleted file mode 100644
index c94ae727..00000000
--- a/test/lib/completions/grep.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "grep --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/groupadd.exp b/test/lib/completions/groupadd.exp
deleted file mode 100644
index c9a4f067..00000000
--- a/test/lib/completions/groupadd.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_no_complete "groupadd "
-sync_after_int
-
-assert_complete_any "groupadd -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/groupdel.exp b/test/lib/completions/groupdel.exp
deleted file mode 100644
index 07c77638..00000000
--- a/test/lib/completions/groupdel.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "groupdel "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/groupmems.exp b/test/lib/completions/groupmems.exp
deleted file mode 100644
index 41c4b43e..00000000
--- a/test/lib/completions/groupmems.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "groupmems -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/groupmod.exp b/test/lib/completions/groupmod.exp
deleted file mode 100644
index 451456b3..00000000
--- a/test/lib/completions/groupmod.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "groupmod "
-sync_after_int
-
-assert_complete_any "groupmod -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/growisofs.exp b/test/lib/completions/growisofs.exp
deleted file mode 100644
index 0f2a0ec7..00000000
--- a/test/lib/completions/growisofs.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "growisofs "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/grpck.exp b/test/lib/completions/grpck.exp
deleted file mode 100644
index 385ebe2b..00000000
--- a/test/lib/completions/grpck.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "grpck "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/grub.exp b/test/lib/completions/grub.exp
deleted file mode 100644
index b88d1f26..00000000
--- a/test/lib/completions/grub.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "grub --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/gzip.exp b/test/lib/completions/gzip.exp
deleted file mode 100644
index 95f774c6..00000000
--- a/test/lib/completions/gzip.exp
+++ /dev/null
@@ -1,32 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set test "Tab should complete"
- # Try completion
-set cmd "gzip "
-send "$cmd\t"
-expect {
- -re "^$cmd\r\n.*$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-assert_complete_homedir "gzip"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hciattach.exp b/test/lib/completions/hciattach.exp
deleted file mode 100644
index 35642f28..00000000
--- a/test/lib/completions/hciattach.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hciattach "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hciconfig.exp b/test/lib/completions/hciconfig.exp
deleted file mode 100644
index 56444f4f..00000000
--- a/test/lib/completions/hciconfig.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hciconfig "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hcitool.exp b/test/lib/completions/hcitool.exp
deleted file mode 100644
index e6ae0032..00000000
--- a/test/lib/completions/hcitool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hcitool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hddtemp.exp b/test/lib/completions/hddtemp.exp
deleted file mode 100644
index a6721dbf..00000000
--- a/test/lib/completions/hddtemp.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hddtemp -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/head.exp b/test/lib/completions/head.exp
deleted file mode 100644
index 7edb8a1b..00000000
--- a/test/lib/completions/head.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {head --help} "" "" "unsupported"]} {
- assert_complete_any "head --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hexdump.exp b/test/lib/completions/hexdump.exp
deleted file mode 100644
index e3447482..00000000
--- a/test/lib/completions/hexdump.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hexdump -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hid2hci.exp b/test/lib/completions/hid2hci.exp
deleted file mode 100644
index c090c2c9..00000000
--- a/test/lib/completions/hid2hci.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hid2hci -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/host.exp b/test/lib/completions/host.exp
deleted file mode 100644
index 73081821..00000000
--- a/test/lib/completions/host.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "host -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hostname.exp b/test/lib/completions/hostname.exp
deleted file mode 100644
index 9d9e4963..00000000
--- a/test/lib/completions/hostname.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hostname -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hping2.exp b/test/lib/completions/hping2.exp
deleted file mode 100644
index 8919626d..00000000
--- a/test/lib/completions/hping2.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hping2 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hping3.exp b/test/lib/completions/hping3.exp
deleted file mode 100644
index 991ee3ad..00000000
--- a/test/lib/completions/hping3.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hping3 "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/htop.exp b/test/lib/completions/htop.exp
deleted file mode 100644
index d3e94d10..00000000
--- a/test/lib/completions/htop.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "htop -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/htpasswd.exp b/test/lib/completions/htpasswd.exp
deleted file mode 100644
index bb66d2f0..00000000
--- a/test/lib/completions/htpasswd.exp
+++ /dev/null
@@ -1,32 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {
- /OLDPWD=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "htpasswd "
-sync_after_int
-
-
-assert_no_complete "htpasswd -n $::srcdir/fixtures/htpasswd/ht"
-sync_after_int
-
-
-assert_complete_dir "htpasswd" "htpasswd " $::srcdir/fixtures/htpasswd
-sync_after_int
-
-
-assert_complete_dir "foo quux" "htpasswd -D htpasswd " $::srcdir/fixtures/htpasswd
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/hwclock.exp b/test/lib/completions/hwclock.exp
deleted file mode 100644
index b12951a9..00000000
--- a/test/lib/completions/hwclock.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "hwclock -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iconv.exp b/test/lib/completions/iconv.exp
deleted file mode 100644
index dcce330f..00000000
--- a/test/lib/completions/iconv.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iconv -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/id.exp b/test/lib/completions/id.exp
deleted file mode 100644
index b03ee721..00000000
--- a/test/lib/completions/id.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "id -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/identify.exp b/test/lib/completions/identify.exp
deleted file mode 100644
index 3347c5cd..00000000
--- a/test/lib/completions/identify.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "identify -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/idn.exp b/test/lib/completions/idn.exp
deleted file mode 100644
index 4625c7e4..00000000
--- a/test/lib/completions/idn.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "idn -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ifdown.exp b/test/lib/completions/ifdown.exp
deleted file mode 100644
index 7341ceb8..00000000
--- a/test/lib/completions/ifdown.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[info exists ::env(CI)]} {
- unsupported "ifdown should show completions"
-} else {
- assert_complete_any "ifdown "
- sync_after_int
-}
-
-assert_no_complete "ifdown bash-completion "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iftop.exp b/test/lib/completions/iftop.exp
deleted file mode 100644
index 12941610..00000000
--- a/test/lib/completions/iftop.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iftop "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ifup.exp b/test/lib/completions/ifup.exp
deleted file mode 100644
index 31b5ade4..00000000
--- a/test/lib/completions/ifup.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[info exists ::env(CI)]} {
- unsupported "ifup should show completions"
-} else {
- assert_complete_any "ifup "
- sync_after_int
-}
-
-assert_no_complete "ifup bash-completion "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/import.exp b/test/lib/completions/import.exp
deleted file mode 100644
index db6845ea..00000000
--- a/test/lib/completions/import.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "import "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/info.exp b/test/lib/completions/info.exp
deleted file mode 100644
index 443a1305..00000000
--- a/test/lib/completions/info.exp
+++ /dev/null
@@ -1,23 +0,0 @@
-proc setup {} {
- assert_bash_exec {OLDINFOPATH=$INFOPATH; INFOPATH=$INFOPATH:$TESTDIR/fixtures/info:}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
- assert_bash_exec {INFOPATH="$OLDINFOPATH"; unset -v OLDINFOPATH}
-}
-
-
-setup
-
-
-assert_complete_any "info bash"
-sync_after_int
-
-assert_complete_any "info -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/inject.exp b/test/lib/completions/inject.exp
deleted file mode 100644
index 4f95be23..00000000
--- a/test/lib/completions/inject.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "inject "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/insmod.exp b/test/lib/completions/insmod.exp
deleted file mode 100644
index ca7c30f6..00000000
--- a/test/lib/completions/insmod.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "insmod "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/installpkg.exp b/test/lib/completions/installpkg.exp
deleted file mode 100644
index 48581aa1..00000000
--- a/test/lib/completions/installpkg.exp
+++ /dev/null
@@ -1,49 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-assert_complete_any "installpkg -"
-
-
-sync_after_int
-
-
-set test "--<TAB> should complete all long options"
-set options [list --warn --md5sum --root --infobox --terse --menu --ask \
- --priority --tagfile]
-assert_complete $options "installpkg --" $test
-
-
-sync_after_int
-
-
-set test "--root should comlete only dirs"
-set dirs [split [exec bash -c "find . -type d -mindepth 1 -maxdepth 1 \
- -printf '%P/\n'"] "\n"]
-assert_complete $dirs "installpkg --root " $test
-
-
-sync_after_int
-
-
-set test "should complete *.t\[gbxl\]z files and dirs"
-set dir $::srcdir/fixtures/slackware/home
-set files [split [exec bash -c "cd $dir && find . -mindepth 1 -maxdepth 1 \
- \\( -type d -printf '%P/\\n' \\) -o \
- \\( -type f -name '*.t\[bglx\]z' -printf '%P\\n' \\)"] "\n"]
-assert_complete_dir $files "installpkg " $dir $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/interdiff.exp b/test/lib/completions/interdiff.exp
deleted file mode 100644
index 8880f461..00000000
--- a/test/lib/completions/interdiff.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "interdiff "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/invoke-rc.d.exp b/test/lib/completions/invoke-rc.d.exp
deleted file mode 100644
index d217d17e..00000000
--- a/test/lib/completions/invoke-rc.d.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "invoke-rc.d "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ionice.exp b/test/lib/completions/ionice.exp
deleted file mode 100644
index d0ff8b64..00000000
--- a/test/lib/completions/ionice.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ionice -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ip.exp b/test/lib/completions/ip.exp
deleted file mode 100644
index f57712cb..00000000
--- a/test/lib/completions/ip.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ip "
-sync_after_int
-
-assert_complete_any "ip a "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iperf.exp b/test/lib/completions/iperf.exp
deleted file mode 100644
index 66a0ba3b..00000000
--- a/test/lib/completions/iperf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iperf "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ipmitool.exp b/test/lib/completions/ipmitool.exp
deleted file mode 100644
index aa18e3ff..00000000
--- a/test/lib/completions/ipmitool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ipmitool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ipsec.exp b/test/lib/completions/ipsec.exp
deleted file mode 100644
index 74ef638c..00000000
--- a/test/lib/completions/ipsec.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ipsec "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iptables.exp b/test/lib/completions/iptables.exp
deleted file mode 100644
index 8ab42f56..00000000
--- a/test/lib/completions/iptables.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iptables -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ipv6calc.exp b/test/lib/completions/ipv6calc.exp
deleted file mode 100644
index 42201f0c..00000000
--- a/test/lib/completions/ipv6calc.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ipv6calc -"
-
-
-sync_after_int
-
-
-assert_complete_any "ipv6calc --in "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/irb.exp b/test/lib/completions/irb.exp
deleted file mode 100644
index 720edfdf..00000000
--- a/test/lib/completions/irb.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "irb "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iscsiadm.exp b/test/lib/completions/iscsiadm.exp
deleted file mode 100644
index 104e7c4e..00000000
--- a/test/lib/completions/iscsiadm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iscsiadm --mode "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/isql.exp b/test/lib/completions/isql.exp
deleted file mode 100644
index ca40faca..00000000
--- a/test/lib/completions/isql.exp
+++ /dev/null
@@ -1,23 +0,0 @@
-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
diff --git a/test/lib/completions/iwconfig.exp b/test/lib/completions/iwconfig.exp
deleted file mode 100644
index 82ae11f3..00000000
--- a/test/lib/completions/iwconfig.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iwconfig --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iwlist.exp b/test/lib/completions/iwlist.exp
deleted file mode 100644
index 43c919ef..00000000
--- a/test/lib/completions/iwlist.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iwlist --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iwpriv.exp b/test/lib/completions/iwpriv.exp
deleted file mode 100644
index 86b1ee95..00000000
--- a/test/lib/completions/iwpriv.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "iwpriv --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/iwspy.exp b/test/lib/completions/iwspy.exp
deleted file mode 100644
index 2894ca4e..00000000
--- a/test/lib/completions/iwspy.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_env_unmodified "iwspy --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/jar.exp b/test/lib/completions/jar.exp
deleted file mode 100644
index d2cb476b..00000000
--- a/test/lib/completions/jar.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "jar "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/jarsigner.exp b/test/lib/completions/jarsigner.exp
deleted file mode 100644
index 7ea7cb2e..00000000
--- a/test/lib/completions/jarsigner.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "jarsigner "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/java.exp b/test/lib/completions/java.exp
deleted file mode 100644
index 62f6fd9d..00000000
--- a/test/lib/completions/java.exp
+++ /dev/null
@@ -1,53 +0,0 @@
-proc setup {} {
- assert_bash_exec {CLASSPATH=$SRCDIR/fixtures/java/a:$SRCDIR/fixtures/java/bashcomp.jar}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "java -"
-
-
-sync_after_int
-
-
-assert_complete "b bashcomp.jarred c. toplevel" "java "
-
-
-sync_after_int
-
-
-assert_complete "bashcomp.jarred toplevel" \
- "java -classpath $::srcdir/fixtures/java/bashcomp.jar "
-
-
-sync_after_int
-
-
-assert_complete "bashcomp.jarred d toplevel" \
- "java -cp $::srcdir/fixtures/java/bashcomp.jar:$::srcdir/fixtures/java/a/c "
-
-
-sync_after_int
-
-
-assert_no_complete "java -cp \"\" "
-
-
-sync_after_int
-
-
-assert_complete "a/ bashcomp.jar bashcomp.war" "java -jar $::srcdir/fixtures/java/"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/javac.exp b/test/lib/completions/javac.exp
deleted file mode 100644
index 83b11d7f..00000000
--- a/test/lib/completions/javac.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "javac "
-sync_after_int
-
-assert_complete "a/ bashcomp.jar" "javac -cp $::srcdir/fixtures/java/"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/javadoc.exp b/test/lib/completions/javadoc.exp
deleted file mode 100644
index 79e86138..00000000
--- a/test/lib/completions/javadoc.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "javadoc "
-sync_after_int
-
-
-assert_complete {"bar bar.d/" foo.d/} "javadoc -linkoffline $::srcdir/fixtures/shared/default/"
-sync_after_int
-
-
-assert_complete {"bar bar.d/" foo.d/} "javadoc -nodeprecated -linkoffline foo $::srcdir/fixtures/shared/default/"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/javaws.exp b/test/lib/completions/javaws.exp
deleted file mode 100644
index cb29c65a..00000000
--- a/test/lib/completions/javaws.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "javaws "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/jpegoptim.exp b/test/lib/completions/jpegoptim.exp
deleted file mode 100644
index 4b735e80..00000000
--- a/test/lib/completions/jpegoptim.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "jpegoptim "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/jps.exp b/test/lib/completions/jps.exp
deleted file mode 100644
index 62d5d710..00000000
--- a/test/lib/completions/jps.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "jps -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/jshint.exp b/test/lib/completions/jshint.exp
deleted file mode 100644
index 553883e1..00000000
--- a/test/lib/completions/jshint.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "jshint "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/k3b.exp b/test/lib/completions/k3b.exp
deleted file mode 100644
index cde14b86..00000000
--- a/test/lib/completions/k3b.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "k3b "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/kcov.exp b/test/lib/completions/kcov.exp
deleted file mode 100644
index c6c4a06d..00000000
--- a/test/lib/completions/kcov.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "kcov "
-sync_after_int
-
-set test "--exclude-patter<TAB> should complete \"--exclude-pattern=\""
-assert_complete "--exclude-pattern=" "kcov --exclude-patter" $test -nospace
-sync_after_int
-
-assert_complete_any "kcov -l 42,"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/kdvi.exp b/test/lib/completions/kdvi.exp
deleted file mode 100644
index fa993f5e..00000000
--- a/test/lib/completions/kdvi.exp
+++ /dev/null
@@ -1,27 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-# NOTE: The directory `fixtures/kdvi' contains an additional subdir `foo'
-# (should be visible as completion) and an additional file `.txt'
-# (shouldn't be visible as completion)
-set files {
- foo/
- .dvi .DVI .dvi.bz2 .DVI.bz2 .dvi.gz .DVI.gz .dvi.Z .DVI.Z
-}
-assert_complete_dir $files "kdvi " "$::srcdir/fixtures/kdvi"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/kill.exp b/test/lib/completions/kill.exp
deleted file mode 100644
index 9aeb8412..00000000
--- a/test/lib/completions/kill.exp
+++ /dev/null
@@ -1,30 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_bash_type ps]} {
- assert_complete_any "kill 1"
- sync_after_int
-}
-
-
-assert_complete [get_signals] "kill -s "
-sync_after_int
-
-
-set expected [get_signals -]
-lappend expected "-l" "-s"
-assert_complete [lsort -unique $expected] "kill -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/killall.exp b/test/lib/completions/killall.exp
deleted file mode 100644
index a55ac591..00000000
--- a/test/lib/completions/killall.exp
+++ /dev/null
@@ -1,23 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-# "p": Assume that our process name completion runs ps
-assert_complete_any "killall p"
-sync_after_int
-
-
-assert_complete [get_signals] "killall --signal "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/kldload.exp b/test/lib/completions/kldload.exp
deleted file mode 100644
index a1d87c97..00000000
--- a/test/lib/completions/kldload.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "kldload "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/kldunload.exp b/test/lib/completions/kldunload.exp
deleted file mode 100644
index 476c5104..00000000
--- a/test/lib/completions/kldunload.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[catch {eval exec {kldstat | grep "\.ko$"}}] == 0} {
- assert_complete_any "kldunload "
-} else {
- assert_no_complete "kldunload "
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/koji.exp b/test/lib/completions/koji.exp
deleted file mode 100644
index a9673807..00000000
--- a/test/lib/completions/koji.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "koji "
-sync_after_int
-
-
-assert_complete_any "koji -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/kpdf.exp b/test/lib/completions/kpdf.exp
deleted file mode 100644
index 6f0feb68..00000000
--- a/test/lib/completions/kpdf.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-# NOTE: The directory `fixtures/kpdf' contains an additional subdir `foo'
-# (should be visible as completion) and an additional file `.txt'
-# (shouldn't be visible as completion)
-set files {
- foo/ .eps .ps .EPS .PS .pdf .PDF
-}
-assert_complete_dir $files "kpdf " "$::srcdir/fixtures/kpdf"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/kplayer.exp b/test/lib/completions/kplayer.exp
deleted file mode 100644
index 4fdfa672..00000000
--- a/test/lib/completions/kplayer.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "kplayer "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ktutil.exp b/test/lib/completions/ktutil.exp
deleted file mode 100644
index 709a0850..00000000
--- a/test/lib/completions/ktutil.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ktutil "
-sync_after_int
-
-assert_complete_any "ktutil -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/l2ping.exp b/test/lib/completions/l2ping.exp
deleted file mode 100644
index de8c58c1..00000000
--- a/test/lib/completions/l2ping.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "l2ping -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/larch.exp b/test/lib/completions/larch.exp
deleted file mode 100644
index cefcbe02..00000000
--- a/test/lib/completions/larch.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "larch library-"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lastlog.exp b/test/lib/completions/lastlog.exp
deleted file mode 100644
index 74d75553..00000000
--- a/test/lib/completions/lastlog.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lastlog -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ld.exp b/test/lib/completions/ld.exp
deleted file mode 100644
index ee660fcb..00000000
--- a/test/lib/completions/ld.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ld "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldapadd.exp b/test/lib/completions/ldapadd.exp
deleted file mode 100644
index bc066ab6..00000000
--- a/test/lib/completions/ldapadd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldapadd -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldapcompare.exp b/test/lib/completions/ldapcompare.exp
deleted file mode 100644
index c693f703..00000000
--- a/test/lib/completions/ldapcompare.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldapcompare -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldapdelete.exp b/test/lib/completions/ldapdelete.exp
deleted file mode 100644
index cc20d0e7..00000000
--- a/test/lib/completions/ldapdelete.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldapdelete -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldapmodrdn.exp b/test/lib/completions/ldapmodrdn.exp
deleted file mode 100644
index 3ae6c399..00000000
--- a/test/lib/completions/ldapmodrdn.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldapmodrdn -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldappasswd.exp b/test/lib/completions/ldappasswd.exp
deleted file mode 100644
index 2dd49393..00000000
--- a/test/lib/completions/ldappasswd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldappasswd -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldapsearch.exp b/test/lib/completions/ldapsearch.exp
deleted file mode 100644
index 92394ecd..00000000
--- a/test/lib/completions/ldapsearch.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldapsearch -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldapvi.exp b/test/lib/completions/ldapvi.exp
deleted file mode 100644
index 54c62772..00000000
--- a/test/lib/completions/ldapvi.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldapvi -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldapwhoami.exp b/test/lib/completions/ldapwhoami.exp
deleted file mode 100644
index 7be41740..00000000
--- a/test/lib/completions/ldapwhoami.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldapwhoami -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ldd.exp b/test/lib/completions/ldd.exp
deleted file mode 100644
index 1c3239c7..00000000
--- a/test/lib/completions/ldd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ldd "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/less.exp b/test/lib/completions/less.exp
deleted file mode 100644
index 78d6ef14..00000000
--- a/test/lib/completions/less.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "less --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lftp.exp b/test/lib/completions/lftp.exp
deleted file mode 100644
index bb219650..00000000
--- a/test/lib/completions/lftp.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- assert_bash_exec {HOME=$SRCDIR/fixtures/lftp}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set expected [get_hosts]
-# `lftptest' is defined in ./fixtures/lftp/.lftp/bookmarks
-lappend expected lftptest
-assert_complete $expected "lftp "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lftpget.exp b/test/lib/completions/lftpget.exp
deleted file mode 100644
index 0eadb6e9..00000000
--- a/test/lib/completions/lftpget.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lftpget -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lilo.exp b/test/lib/completions/lilo.exp
deleted file mode 100644
index 36ea2c66..00000000
--- a/test/lib/completions/lilo.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lilo -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/links.exp b/test/lib/completions/links.exp
deleted file mode 100644
index 4124e2f4..00000000
--- a/test/lib/completions/links.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "links "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lintian-info.exp b/test/lib/completions/lintian-info.exp
deleted file mode 100644
index 5bde97fd..00000000
--- a/test/lib/completions/lintian-info.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lintian-info "
-sync_after_int
-
-assert_complete_any "lintian-info --"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lintian.exp b/test/lib/completions/lintian.exp
deleted file mode 100644
index 5b1e695c..00000000
--- a/test/lib/completions/lintian.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lintian --"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lisp.exp b/test/lib/completions/lisp.exp
deleted file mode 100644
index 5131b45d..00000000
--- a/test/lib/completions/lisp.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lisp "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/list_admins.exp b/test/lib/completions/list_admins.exp
deleted file mode 100644
index 3b412136..00000000
--- a/test/lib/completions/list_admins.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "list_admins -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/list_lists.exp b/test/lib/completions/list_lists.exp
deleted file mode 100644
index a62dca25..00000000
--- a/test/lib/completions/list_lists.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "list_lists -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/list_members.exp b/test/lib/completions/list_members.exp
deleted file mode 100644
index 8c74cdfb..00000000
--- a/test/lib/completions/list_members.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "list_members -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/list_owners.exp b/test/lib/completions/list_owners.exp
deleted file mode 100644
index 65e3ba8e..00000000
--- a/test/lib/completions/list_owners.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "list_owners -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ln.exp b/test/lib/completions/ln.exp
deleted file mode 100644
index 61405020..00000000
--- a/test/lib/completions/ln.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ln "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/look.exp b/test/lib/completions/look.exp
deleted file mode 100644
index af9a71a8..00000000
--- a/test/lib/completions/look.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {look foo | grep ^foo} words {} "unsupported"]} {
- assert_complete $words "look foo"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lpq.exp b/test/lib/completions/lpq.exp
deleted file mode 100644
index 41fdb216..00000000
--- a/test/lib/completions/lpq.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lpq "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lpr.exp b/test/lib/completions/lpr.exp
deleted file mode 100644
index 1ec46844..00000000
--- a/test/lib/completions/lpr.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lpr "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lrzip.exp b/test/lib/completions/lrzip.exp
deleted file mode 100644
index 2c4218ec..00000000
--- a/test/lib/completions/lrzip.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lrzip "
-
-
-sync_after_int
-
-
-assert_complete_homedir "lrzip"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ls.exp b/test/lib/completions/ls.exp
deleted file mode 100644
index 24fc46f8..00000000
--- a/test/lib/completions/ls.exp
+++ /dev/null
@@ -1,36 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {ls --help} "" "" "unsupported"]} {
- assert_complete_any "ls --"
-}
-sync_after_int
-
-
-assert_complete_homedir "ls"
-sync_after_int
-
-
-set test "~part should complete to ~full<space> if home dir does not exist"
-# Create list of users, having non-existing home dir
-assert_bash_exec {for u in $(compgen -u); do \
- eval test -d ~$u || echo $u; unset u; done} {} /@ users
-if {![find_unique_completion_pair $users part full]} {
- untested "Not running, no suitable test user found: $test"
-} else {
- assert_complete "~$full " "ls ~$part" $test -nospace
-}
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lsof.exp b/test/lib/completions/lsof.exp
deleted file mode 100644
index 551bde2a..00000000
--- a/test/lib/completions/lsof.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lsof "
-sync_after_int
-
-assert_complete_any "lsof -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lspci.exp b/test/lib/completions/lspci.exp
deleted file mode 100644
index ea9e859f..00000000
--- a/test/lib/completions/lspci.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lspci -"
-sync_after_int
-
-assert_complete_any "lspci -A "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lsscsi.exp b/test/lib/completions/lsscsi.exp
deleted file mode 100644
index 66603142..00000000
--- a/test/lib/completions/lsscsi.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_no_complete "lsscsi "
-sync_after_int
-
-assert_complete_any "lsscsi -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lsusb.exp b/test/lib/completions/lsusb.exp
deleted file mode 100644
index dddb6352..00000000
--- a/test/lib/completions/lsusb.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lsusb -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lua.exp b/test/lib/completions/lua.exp
deleted file mode 100644
index 864b1bfc..00000000
--- a/test/lib/completions/lua.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lua "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/luac.exp b/test/lib/completions/luac.exp
deleted file mode 100644
index d7cfb23b..00000000
--- a/test/lib/completions/luac.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "luac "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/luseradd.exp b/test/lib/completions/luseradd.exp
deleted file mode 100644
index 744314a7..00000000
--- a/test/lib/completions/luseradd.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "luseradd -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/luserdel.exp b/test/lib/completions/luserdel.exp
deleted file mode 100644
index 70d11661..00000000
--- a/test/lib/completions/luserdel.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "luserdel "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lusermod.exp b/test/lib/completions/lusermod.exp
deleted file mode 100644
index f96293e6..00000000
--- a/test/lib/completions/lusermod.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lusermod "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvchange.exp b/test/lib/completions/lvchange.exp
deleted file mode 100644
index 2240e5eb..00000000
--- a/test/lib/completions/lvchange.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvchange --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvchange --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvcreate.exp b/test/lib/completions/lvcreate.exp
deleted file mode 100644
index 678ac1be..00000000
--- a/test/lib/completions/lvcreate.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvcreate --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvcreate --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvdisplay.exp b/test/lib/completions/lvdisplay.exp
deleted file mode 100644
index 5e8c3210..00000000
--- a/test/lib/completions/lvdisplay.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvdisplay --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvdisplay --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvextend.exp b/test/lib/completions/lvextend.exp
deleted file mode 100644
index 7c0e329e..00000000
--- a/test/lib/completions/lvextend.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvextend --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvextend --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvm.exp b/test/lib/completions/lvm.exp
deleted file mode 100644
index 91fe0dcd..00000000
--- a/test/lib/completions/lvm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lvm pv"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvmdiskscan.exp b/test/lib/completions/lvmdiskscan.exp
deleted file mode 100644
index 30c73c5c..00000000
--- a/test/lib/completions/lvmdiskscan.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvmdiskscan --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvmdiskscan --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvreduce.exp b/test/lib/completions/lvreduce.exp
deleted file mode 100644
index b9904fef..00000000
--- a/test/lib/completions/lvreduce.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvreduce --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvreduce --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvremove.exp b/test/lib/completions/lvremove.exp
deleted file mode 100644
index 0f41d8dc..00000000
--- a/test/lib/completions/lvremove.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvremove --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvremove --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvrename.exp b/test/lib/completions/lvrename.exp
deleted file mode 100644
index 77d6c5e0..00000000
--- a/test/lib/completions/lvrename.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvrename --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvrename --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvresize.exp b/test/lib/completions/lvresize.exp
deleted file mode 100644
index a0e8f99e..00000000
--- a/test/lib/completions/lvresize.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvresize --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvresize --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvs.exp b/test/lib/completions/lvs.exp
deleted file mode 100644
index c46a8153..00000000
--- a/test/lib/completions/lvs.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvs --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvs --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lvscan.exp b/test/lib/completions/lvscan.exp
deleted file mode 100644
index 60effb5d..00000000
--- a/test/lib/completions/lvscan.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {lvscan --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "lvscan --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lz4.exp b/test/lib/completions/lz4.exp
deleted file mode 100644
index dc41f919..00000000
--- a/test/lib/completions/lz4.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lz4 "
-sync_after_int
-
-assert_complete_homedir "lz4"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lzip.exp b/test/lib/completions/lzip.exp
deleted file mode 100644
index fd92af62..00000000
--- a/test/lib/completions/lzip.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lzip "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lzma.exp b/test/lib/completions/lzma.exp
deleted file mode 100644
index 16b45d0b..00000000
--- a/test/lib/completions/lzma.exp
+++ /dev/null
@@ -1,30 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lzma "
-
-
-sync_after_int
-
-
-assert_complete "a/ bashcomp.lzma bashcomp.tlz" "lzma -d $::srcdir/fixtures/xz/"
-
-
-sync_after_int
-
-
-assert_complete_homedir "lzma"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/lzop.exp b/test/lib/completions/lzop.exp
deleted file mode 100644
index 3084fd3e..00000000
--- a/test/lib/completions/lzop.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "lzop "
-
-
-sync_after_int
-
-
-assert_complete_homedir "lzop"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/m4.exp b/test/lib/completions/m4.exp
deleted file mode 100644
index 334132db..00000000
--- a/test/lib/completions/m4.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {m4 --help} "" "" "unsupported"]} {
- assert_complete_any "m4 --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/macof.exp b/test/lib/completions/macof.exp
deleted file mode 100644
index 873ae1da..00000000
--- a/test/lib/completions/macof.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "macof -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mailmanctl.exp b/test/lib/completions/mailmanctl.exp
deleted file mode 100644
index 2924806a..00000000
--- a/test/lib/completions/mailmanctl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mailmanctl "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mailsnarf.exp b/test/lib/completions/mailsnarf.exp
deleted file mode 100644
index 9fb937f3..00000000
--- a/test/lib/completions/mailsnarf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mailsnarf -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/make.exp b/test/lib/completions/make.exp
deleted file mode 100644
index 0c188dba..00000000
--- a/test/lib/completions/make.exp
+++ /dev/null
@@ -1,77 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-set test "-f Ma<TAB> should complete \"Makefile\""
-set dir $::srcdir/fixtures/make
-assert_complete_dir "Makefile" "make -f Ma" $dir $test
-
-
-sync_after_int
-
-set test "\"make <TAB>\" should complete targets"
-set dir $::srcdir/fixtures/make
-set targets "all sample install clean extra_makefile"
-file delete $dir/extra_makefile
-assert_complete_dir $targets "make " $dir $test
-
-
-sync_after_int
-
-
-set test "\"make .<TAB>\" should complete hidden targets"
-set dir $::srcdir/fixtures/make
-set targets ".test_passes .cache/"
-assert_complete_dir $targets "make ." $dir $test
-
-
-sync_after_int
-
-
-set test "\"make .cache/<TAB>\" should complete targets"
-set dir $::srcdir/fixtures/make
-set targets "1 2"
-assert_complete_dir $targets "make .cache/" $dir $test
-
-
-sync_after_int
-
-
-# FIXME: for some reason this fails in centos6, even though the behavior
-# appears to be correct; skip in CI for now.
-set test "\"make .cache/.<TAB>\" should complete hidden targets"
-if {[info exists ::env(CI)] && [info exists ::env(DIST)] && $::env(DIST) == "centos6"} {
- xfail $test
-} else {
- set dir $::srcdir/fixtures/make
- set targets ".1 .2"
- assert_complete_dir $targets "make .cache/." $dir $test \
- -expect-cmd-minus "."
- sync_after_int
-}
-
-
-set test "\"make <TAB>\" should not show anything in directory without makefile"
-set dir $::srcdir/fixtures/shared/empty_dir
-assert_complete_dir "" "make " $dir $test
-
-
-sync_after_int
-
-
-assert_complete_any "make -j "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/makepkg.exp b/test/lib/completions/makepkg.exp
deleted file mode 100644
index 56e06339..00000000
--- a/test/lib/completions/makepkg.exp
+++ /dev/null
@@ -1,28 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "makepkg -"
-
-
-sync_after_int
-
-
-set test "--<TAB> should complete all long options"
-set options [list --linkadd --prepend --chown]
-assert_complete $options "makepkg --" $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/man.exp b/test/lib/completions/man.exp
deleted file mode 100644
index d601c434..00000000
--- a/test/lib/completions/man.exp
+++ /dev/null
@@ -1,76 +0,0 @@
-proc setup {} {
- assert_bash_exec "export MANPATH=$::srcdirabs/fixtures/man:$::srcdirabs/tmp/man"
- save_env
-
- if {! [is_cygwin]} { # Colon not allowed in filenames
- assert_bash_exec {(cd $TESTDIR/tmp && mkdir -p man/man3 && touch man/man3/Bash::Completion.3pm.gz || true)}
- }
-}
-
-
-proc teardown {} {
- assert_env_unmodified {
- /OLDPWD/d
- /OLDMANPATH/d
- }
-
- if {! [is_cygwin]} {
- assert_bash_exec {(cd $TESTDIR/tmp && rm -r man || true)}
- }
-}
-
-
-setup
-
-
-# Something we assume a system installed man page present for
-set assumed_present "man"
-
-assert_complete "bash-completion-testcase" "man bash-completion-testcas"
-sync_after_int
-
-assert_complete_dir oo.1 "man man1/f" $::srcdir/fixtures/man
-sync_after_int
-
-if {! [is_cygwin]} {
- assert_complete "Bash::Completion" "man Bash::C"
- sync_after_int
-}
-
-assert_complete_dir "man/quux.8" "man man/" $::srcdir/fixtures/man
-sync_after_int
-
-set desc "man $assumed_present with MANPATH having no leading/trailing colon"
-assert_no_complete "man $assumed_present" "$desc should not complete"
-sync_after_int
-
-# Trailing colon in MANPATH: append system default search path
-assert_bash_exec "OLDMANPATH=\$MANPATH; MANPATH=\$MANPATH:"
-set desc "with trailing colon in MANPATH"
-
-set cmd "man $assumed_present"
-assert_complete_any "$cmd" "$cmd $desc should complete"
-sync_after_int
-
-set cmd "man bash-completion-testcas"
-assert_complete "bash-completion-testcase" "$cmd" "$cmd $desc should complete"
-sync_after_int
-
-assert_bash_exec "MANPATH=\$OLDMANPATH"
-
-# Leading colon in MANPATH: prepend system default search path
-assert_bash_exec "OLDMANPATH=\$MANPATH; MANPATH=:\$MANPATH"
-set desc "with leading colon in MANPATH"
-
-set cmd "man $assumed_present"
-assert_complete_any "$cmd" "$cmd $desc should complete"
-sync_after_int
-
-set cmd "man bash-completion-testcas"
-assert_complete "bash-completion-testcase" "$cmd" "$cmd $desc should complete"
-sync_after_int
-
-assert_bash_exec "MANPATH=\$OLDMANPATH"
-
-
-teardown
diff --git a/test/lib/completions/mc.exp b/test/lib/completions/mc.exp
deleted file mode 100644
index eb97246d..00000000
--- a/test/lib/completions/mc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mc -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mcrypt.exp b/test/lib/completions/mcrypt.exp
deleted file mode 100644
index e194446b..00000000
--- a/test/lib/completions/mcrypt.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mcrypt "
-sync_after_int
-
-assert_complete_any "mcrypt -a "
-sync_after_int
-
-assert_complete_any "mcrypt -m "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/md5sum.exp b/test/lib/completions/md5sum.exp
deleted file mode 100644
index 54ed6416..00000000
--- a/test/lib/completions/md5sum.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "md5sum "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mdadm.exp b/test/lib/completions/mdadm.exp
deleted file mode 100644
index 6559aa20..00000000
--- a/test/lib/completions/mdadm.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mdadm "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mdecrypt.exp b/test/lib/completions/mdecrypt.exp
deleted file mode 100644
index 8d9d9f59..00000000
--- a/test/lib/completions/mdecrypt.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mdecrypt "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mdtool.exp b/test/lib/completions/mdtool.exp
deleted file mode 100644
index 076cb17a..00000000
--- a/test/lib/completions/mdtool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mdtool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/medusa.exp b/test/lib/completions/medusa.exp
deleted file mode 100644
index 6ad2fdc3..00000000
--- a/test/lib/completions/medusa.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "medusa -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mencoder.exp b/test/lib/completions/mencoder.exp
deleted file mode 100644
index cb0ba7c5..00000000
--- a/test/lib/completions/mencoder.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-proc setup {} {
- save_env
- assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIR/fixtures/mplayer}
-}
-
-
-proc teardown {} {
- assert_bash_exec {HOME=$OLDHOME}
- assert_env_unmodified {
- /OLDHOME=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "mencoder "
-sync_after_int
-
-assert_complete_any "mencoder -v"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mii-diag.exp b/test/lib/completions/mii-diag.exp
deleted file mode 100644
index 952ff632..00000000
--- a/test/lib/completions/mii-diag.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mii-diag "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mii-tool.exp b/test/lib/completions/mii-tool.exp
deleted file mode 100644
index 03827edd..00000000
--- a/test/lib/completions/mii-tool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mii-tool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/minicom.exp b/test/lib/completions/minicom.exp
deleted file mode 100644
index dfc96c01..00000000
--- a/test/lib/completions/minicom.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "minicom -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mkdir.exp b/test/lib/completions/mkdir.exp
deleted file mode 100644
index 049212f0..00000000
--- a/test/lib/completions/mkdir.exp
+++ /dev/null
@@ -1,33 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mkdir "
-
-
-sync_after_int
-
-
-assert_complete {bar "bar bar.d/" foo foo.d/} "mkdir $::srcdir/fixtures/shared/default/"
-
-
-sync_after_int
-
-
-set test "mkdir should complete files with nospace"
-assert_complete {foo} "mkdir $::srcdir/fixtures/shared/default/foo.d/" $test -nospace
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mkfifo.exp b/test/lib/completions/mkfifo.exp
deleted file mode 100644
index 59412a2e..00000000
--- a/test/lib/completions/mkfifo.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mkfifo "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mkinitrd.exp b/test/lib/completions/mkinitrd.exp
deleted file mode 100644
index 007f278d..00000000
--- a/test/lib/completions/mkinitrd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mkinitrd "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mkisofs.exp b/test/lib/completions/mkisofs.exp
deleted file mode 100644
index 98780b1e..00000000
--- a/test/lib/completions/mkisofs.exp
+++ /dev/null
@@ -1,48 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mkisofs "
-
-
-sync_after_int
-
-
-set test "-uid should complete uids"
- # Try completion
-set cmd "mkisofs -uid "
-send "$cmd\t"
-expect {
- -re "^$cmd\r\n\\d+.*$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-set test "-gid should complete gids"
- # Try completion
-set cmd "mkisofs -gid "
-send "$cmd\t"
-expect {
- -re "^$cmd\r\n\\d+.*$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mknod.exp b/test/lib/completions/mknod.exp
deleted file mode 100644
index 145f4531..00000000
--- a/test/lib/completions/mknod.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mknod "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mktemp.exp b/test/lib/completions/mktemp.exp
deleted file mode 100644
index 8b0a3be2..00000000
--- a/test/lib/completions/mktemp.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mktemp -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mmsitepass.exp b/test/lib/completions/mmsitepass.exp
deleted file mode 100644
index 70d2a126..00000000
--- a/test/lib/completions/mmsitepass.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mmsitepass -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mock.exp b/test/lib/completions/mock.exp
deleted file mode 100644
index 8190264a..00000000
--- a/test/lib/completions/mock.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mock "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/modinfo.exp b/test/lib/completions/modinfo.exp
deleted file mode 100644
index 90e9702a..00000000
--- a/test/lib/completions/modinfo.exp
+++ /dev/null
@@ -1,38 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set uname [exec bash -c "uname -r"]
-if {[assert_exec "ls /lib/modules/$uname" "" "" "unsupported"]} {
- set test "in<TAB> should complete modulename"
- assert_complete_any "modinfo in" $test
-}
-
-
-sync_after_int
-
-
-set test "should not complete anything for non-existent kernel"
-assert_no_complete "modinfo -k you-dont-have-such-kernel in" $test
-
-
-sync_after_int
-
-
-set test "should complete filepaths"
-assert_complete "/tmp/" "modinfo /tm" $test -nospace
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/modprobe.exp b/test/lib/completions/modprobe.exp
deleted file mode 100644
index b0a530ef..00000000
--- a/test/lib/completions/modprobe.exp
+++ /dev/null
@@ -1,52 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set test "--al<TAB> should complete \"--all\""
-assert_complete "--all" "modprobe --al" $test
-
-
-sync_after_int
-
-
-set uname [exec bash -c "uname -r"]
-if {[assert_exec "ls /lib/modules/$uname" "" "" "unsupported"]} {
- set test "in<TAB> should complete modulename"
- assert_complete_any "modprobe in" $test
-}
-
-
-sync_after_int
-
-
-set test "should not complete anything for non-existent kernel"
-assert_no_complete "modprobe -S you-dont-have-such-kernel in" $test
-
-
-sync_after_int
-
-
-set test "should not complete anything for non-existent module"
-assert_no_complete "modprobe you-dont-have-such-module " $test
-
-
-sync_after_int
-
-
-set test "should complete filepaths"
-assert_complete "/tmp/" "modprobe /tm" $test -nospace
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/module.exp b/test/lib/completions/module.exp
deleted file mode 100644
index 5e36a6da..00000000
--- a/test/lib/completions/module.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "module "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mogrify.exp b/test/lib/completions/mogrify.exp
deleted file mode 100644
index 84ceeff5..00000000
--- a/test/lib/completions/mogrify.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mogrify "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/monodevelop.exp b/test/lib/completions/monodevelop.exp
deleted file mode 100644
index 0bfe788e..00000000
--- a/test/lib/completions/monodevelop.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "monodevelop "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/montage.exp b/test/lib/completions/montage.exp
deleted file mode 100644
index 4d85e1a4..00000000
--- a/test/lib/completions/montage.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "montage "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mount.exp b/test/lib/completions/mount.exp
deleted file mode 100644
index fea99b85..00000000
--- a/test/lib/completions/mount.exp
+++ /dev/null
@@ -1,46 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD/d}
-}
-
-
-setup
-
-
-assert_complete_any "mount "
-
-
-sync_after_int
-
-
-assert_complete_any "mount -t "
-
-
-sync_after_int
-
-
-set test "mount /dev/sda1 def should complete directory name"
-assert_complete_dir "default/" "mount /dev/sda1 def" $::srcdir/fixtures/shared $test -nospace
-
-
-sync_after_int
-
-
-set test "Check completing nfs mounts"
-set expected [list /test/path /test/path2 /second/path]
-set cmd "mount mocksrv:/"
-assert_bash_exec {OLDPATH="$PATH"; PATH="$SRCDIRABS/fixtures/mount/bin:$PATH";}
-# This needs an explicit cword param or will output "unresolved".
-assert_complete $expected $cmd $test -expect-cmd-minus /
-sync_after_int
-assert_bash_exec {PATH="$OLDPATH"; unset -v OLDPATH}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mplayer.exp b/test/lib/completions/mplayer.exp
deleted file mode 100644
index 8c9de756..00000000
--- a/test/lib/completions/mplayer.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-proc setup {} {
- save_env
- assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIR/fixtures/mplayer}
-}
-
-
-proc teardown {} {
- assert_bash_exec {HOME=$OLDHOME}
- assert_env_unmodified {
- /OLDHOME=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "mplayer "
-sync_after_int
-
-assert_complete_any "mplayer -h"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mr.exp b/test/lib/completions/mr.exp
deleted file mode 100644
index d7d41bb6..00000000
--- a/test/lib/completions/mr.exp
+++ /dev/null
@@ -1,46 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-setup
-
-assert_complete_any "mr "
-sync_after_int
-
-# Some versions require man to be around for useful output.
-if {[assert_exec {man -h} "" "" "unsupported"]} {
-
- assert_complete_any "mr --"
- sync_after_int
-
- assert_complete {"foo"} "mr -c $::srcdir/fixtures/shared/default/foo.d/"
- sync_after_int
-
- assert_complete {"bar bar.d/" "foo.d/"} "mr -d $::srcdir/fixtures/shared/default/"
- sync_after_int
-
- assert_complete {"bar" "bar bar.d/" "foo" "foo.d/"} "mr bootstrap $::srcdir/fixtures/shared/default/"
- sync_after_int
-
- # Disabled for now; "clean" doesn't exist before mr 1.20141023
- #assert_complete "-f" "mr clean -"
- #sync_after_int
-
- assert_complete "-m" "mr commit -"
- sync_after_int
-
- assert_no_complete "mr status "
- sync_after_int
-
- # Disabled temporarily: suggesting all commands produces too much output for
- # test suite.
- #assert_complete_any "mr run "
- #sync_after_int
-}
-
-teardown
diff --git a/test/lib/completions/msgsnarf.exp b/test/lib/completions/msgsnarf.exp
deleted file mode 100644
index c542e33e..00000000
--- a/test/lib/completions/msgsnarf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "msgsnarf -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/msynctool.exp b/test/lib/completions/msynctool.exp
deleted file mode 100644
index cb238d9f..00000000
--- a/test/lib/completions/msynctool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "msynctool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mtx.exp b/test/lib/completions/mtx.exp
deleted file mode 100644
index 1de15269..00000000
--- a/test/lib/completions/mtx.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mtx "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/munin-node-configure.exp b/test/lib/completions/munin-node-configure.exp
deleted file mode 100644
index 2e17f3eb..00000000
--- a/test/lib/completions/munin-node-configure.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "munin-node-configure --libdir "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/munin-run.exp b/test/lib/completions/munin-run.exp
deleted file mode 100644
index 25a639bc..00000000
--- a/test/lib/completions/munin-run.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "munin-run -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/munindoc.exp b/test/lib/completions/munindoc.exp
deleted file mode 100644
index 62a4307c..00000000
--- a/test/lib/completions/munindoc.exp
+++ /dev/null
@@ -1,19 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-# Assume at least munin* available
-assert_complete_any "munindoc m"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mussh.exp b/test/lib/completions/mussh.exp
deleted file mode 100644
index 24c5c1f1..00000000
--- a/test/lib/completions/mussh.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mussh -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mutt.exp b/test/lib/completions/mutt.exp
deleted file mode 100644
index 1f4425e2..00000000
--- a/test/lib/completions/mutt.exp
+++ /dev/null
@@ -1,43 +0,0 @@
-proc setup {} {
- save_env
- assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIRABS/fixtures/mutt}
-}
-
-
-proc teardown {} {
- assert_bash_exec {HOME=$OLDHOME}
- assert_env_unmodified {
- /OLDPWD=/d
- /OLDHOME=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "mutt -"
-
-
-sync_after_int
-
-
-set test "mutt should complete mailboxes"
-set expected {foo/ bar/ muttrc}
-assert_complete_dir $expected "mutt -F muttrc -f =" $::srcdir/fixtures/mutt $test
-
-
-set test "mutt should complete aliases"
-set expected {a1 a2}
-assert_complete_dir $expected "mutt -F muttrc -A " $::srcdir/fixtures/mutt $test
-
-
-sync_after_int
-
-
-set expected "$::srcdirabs/fixtures/mutt/muttrc $::srcdirabs/fixtures/mutt/bar/muttrc_b $::srcdirabs/fixtures/mutt/foo/muttrc_f"
-assert_bash_list $expected { _muttconffiles "$HOME/muttrc" "$HOME/muttrc" } "find muttrcs recursively"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/muttng.exp b/test/lib/completions/muttng.exp
deleted file mode 100644
index 32239128..00000000
--- a/test/lib/completions/muttng.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "muttng -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mv.exp b/test/lib/completions/mv.exp
deleted file mode 100644
index d65c4868..00000000
--- a/test/lib/completions/mv.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mv "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mysql.exp b/test/lib/completions/mysql.exp
deleted file mode 100644
index b7a50b81..00000000
--- a/test/lib/completions/mysql.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mysql --"
-sync_after_int
-
-
-assert_complete_any "mysql --default-character-set="
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/mysqladmin.exp b/test/lib/completions/mysqladmin.exp
deleted file mode 100644
index ae9b8ce8..00000000
--- a/test/lib/completions/mysqladmin.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "mysqladmin -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nc.exp b/test/lib/completions/nc.exp
deleted file mode 100644
index 84e61896..00000000
--- a/test/lib/completions/nc.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "nc -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ncftp.exp b/test/lib/completions/ncftp.exp
deleted file mode 100644
index d6683b86..00000000
--- a/test/lib/completions/ncftp.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ncftp "
-sync_after_int
-
-
-assert_complete_any "ncftp -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nethogs.exp b/test/lib/completions/nethogs.exp
deleted file mode 100644
index d6234070..00000000
--- a/test/lib/completions/nethogs.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "nethogs "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/netstat.exp b/test/lib/completions/netstat.exp
deleted file mode 100644
index e4ef676c..00000000
--- a/test/lib/completions/netstat.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "netstat "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/newgrp.exp b/test/lib/completions/newgrp.exp
deleted file mode 100644
index a5cddb8c..00000000
--- a/test/lib/completions/newgrp.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "newgrp "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/newlist.exp b/test/lib/completions/newlist.exp
deleted file mode 100644
index dfabdc50..00000000
--- a/test/lib/completions/newlist.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "newlist -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/newusers.exp b/test/lib/completions/newusers.exp
deleted file mode 100644
index a1928120..00000000
--- a/test/lib/completions/newusers.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "newusers "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ngrep.exp b/test/lib/completions/ngrep.exp
deleted file mode 100644
index a49543bb..00000000
--- a/test/lib/completions/ngrep.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ngrep -"
-sync_after_int
-
-assert_complete_any "ngrep -d "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nl.exp b/test/lib/completions/nl.exp
deleted file mode 100644
index b7255ac2..00000000
--- a/test/lib/completions/nl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "nl "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nm.exp b/test/lib/completions/nm.exp
deleted file mode 100644
index 9ce73d45..00000000
--- a/test/lib/completions/nm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "nm "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nmap.exp b/test/lib/completions/nmap.exp
deleted file mode 100644
index 02aab991..00000000
--- a/test/lib/completions/nmap.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "nmap --v"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nmcli.exp b/test/lib/completions/nmcli.exp
deleted file mode 100644
index b891f45e..00000000
--- a/test/lib/completions/nmcli.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "nmcli "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nproc.exp b/test/lib/completions/nproc.exp
deleted file mode 100644
index d6df0472..00000000
--- a/test/lib/completions/nproc.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_no_complete "nproc "
-sync_after_int
-
-assert_complete_any "nproc -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/nslookup.exp b/test/lib/completions/nslookup.exp
deleted file mode 100644
index 20b84451..00000000
--- a/test/lib/completions/nslookup.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "nslookup -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ntpdate.exp b/test/lib/completions/ntpdate.exp
deleted file mode 100644
index 7a7dd716..00000000
--- a/test/lib/completions/ntpdate.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ntpdate -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/objcopy.exp b/test/lib/completions/objcopy.exp
deleted file mode 100644
index 29be7e62..00000000
--- a/test/lib/completions/objcopy.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "objcopy "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/objdump.exp b/test/lib/completions/objdump.exp
deleted file mode 100644
index c1f62e35..00000000
--- a/test/lib/completions/objdump.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "objdump "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/od.exp b/test/lib/completions/od.exp
deleted file mode 100644
index e2712d12..00000000
--- a/test/lib/completions/od.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "od "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/oggdec.exp b/test/lib/completions/oggdec.exp
deleted file mode 100644
index 18b0f949..00000000
--- a/test/lib/completions/oggdec.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "oggdec "
-sync_after_int
-
-assert_complete_any "oggdec --"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/openssl.exp b/test/lib/completions/openssl.exp
deleted file mode 100644
index 3adbbae7..00000000
--- a/test/lib/completions/openssl.exp
+++ /dev/null
@@ -1,35 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set test "Tab should complete"
- # Try completion
-set cmd "openssl "
-send "$cmd\t"
-expect {
- -re "^$cmd\r\n.*$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-assert_complete_any "openssl pkey -cipher "
-sync_after_int
-
-assert_complete_any "openssl dgst -s"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/opera.exp b/test/lib/completions/opera.exp
deleted file mode 100644
index 9b666403..00000000
--- a/test/lib/completions/opera.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "opera "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/optipng.exp b/test/lib/completions/optipng.exp
deleted file mode 100644
index 0a079190..00000000
--- a/test/lib/completions/optipng.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "optipng "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/p4.exp b/test/lib/completions/p4.exp
deleted file mode 100644
index 20d8fb6e..00000000
--- a/test/lib/completions/p4.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "p4 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pack200.exp b/test/lib/completions/pack200.exp
deleted file mode 100644
index 537bf327..00000000
--- a/test/lib/completions/pack200.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pack200 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/passwd.exp b/test/lib/completions/passwd.exp
deleted file mode 100644
index df2945b8..00000000
--- a/test/lib/completions/passwd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "passwd "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/paste.exp b/test/lib/completions/paste.exp
deleted file mode 100644
index 224d9dd9..00000000
--- a/test/lib/completions/paste.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "paste "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/patch.exp b/test/lib/completions/patch.exp
deleted file mode 100644
index 07e88f15..00000000
--- a/test/lib/completions/patch.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "patch "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pdftotext.exp b/test/lib/completions/pdftotext.exp
deleted file mode 100644
index 4c5cfca5..00000000
--- a/test/lib/completions/pdftotext.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pdftotext "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/perl.exp b/test/lib/completions/perl.exp
deleted file mode 100644
index 3a92a6b9..00000000
--- a/test/lib/completions/perl.exp
+++ /dev/null
@@ -1,131 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/PERL5LIB=/d}
-}
-
-
-setup
-
-
-assert_complete_any "perl "
-
-
-sync_after_int
-
-
-set test "Second argument should file complete"
-set cmd "perl foo $::srcdir/fixtures/shared/default/f"
-send "$cmd\t"
-expect {
- -re "^$cmd\r\nfoo +foo.d/ *\r\n/@${cmd}oo$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-set test "-I without space should complete directories"
-set cmd "perl -I$::srcdir/fixtures/shared/default/"
-send "$cmd\t"
-expect {
- -re "^$cmd\r\nbar bar.d/ +foo.d/ *\r\n/@$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-set test "-I with space should complete directories"
-set cmd "perl -I $::srcdir/fixtures/shared/default/"
-send "$cmd\t"
-expect {
- -re "^$cmd\r\nbar bar.d/ +foo.d/ *\r\n/@$cmd$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-set test "-x without space should complete directories"
-set cmd "perl -x$::srcdir/fixtures/shared/default/b"
-send "$cmd\t"
-expect {
- -re "^${cmd}ar\\\\ bar.d/ *$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-set test "-x with space should complete directories"
-set cmd "perl -x $::srcdir/fixtures/shared/default/b"
-send "$cmd\t"
-expect {
- -re "^${cmd}ar\\\\ bar.d/ *$" { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- -re eof { unresolved "eof" }
-}
-
-
-sync_after_int
-
-
-set test "- should complete options"
-set options {
- -0 -a -c -C -d -D -e -F -h -i -I -l -m -M -n -p -P -s -S -T -u -U -v -V -w -W -x -X
-}
-assert_complete $options "perl -" $test
-
-
-sync_after_int
-
-assert_no_complete "perl -e "
-sync_after_int
-
-assert_complete_any "perl -V:install"
-sync_after_int
-
-assert_complete_any "perl -V::install"
-sync_after_int
-
-# Assuming that File::Spec and friends are always installed...
-
-assert_complete_any "perl -MFile"
-sync_after_int
-
-assert_complete_any "perl -MFile::Sp"
-sync_after_int
-
-assert_complete_any "perl -MFile::Spec::Func"
-sync_after_int
-
-assert_complete_any "perl -M-File"
-sync_after_int
-
-assert_complete_any "perl -m-File::"
-sync_after_int
-
-# Make sure at least our mock Devel::* module is around
-assert_bash_exec {OLDPERL5LIB=$PERL5LIB; export PERL5LIB=$TESTDIR/fixtures/perl}
-
-assert_complete_any "perl -d:"
-sync_after_int
-
-assert_complete_any "perl -dt:"
-sync_after_int
-
-assert_bash_exec {export PERL5LIB=$OLDPERL5LIB; unset -v OLDPERL5LIB}
-
-teardown
diff --git a/test/lib/completions/perldoc.exp b/test/lib/completions/perldoc.exp
deleted file mode 100644
index 3197bf5c..00000000
--- a/test/lib/completions/perldoc.exp
+++ /dev/null
@@ -1,39 +0,0 @@
-proc setup {} {
- assert_bash_exec {export PERL5LIB=$SRCDIR/fixtures/perldoc}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set test "perldoc should complete word containing colons"
-set cmd "perldoc File::"
-send "$cmd\t"
-expect {
- # Assuming the module `File::Path' is always installed
- -re "\\sPath\\s" { pass "$test" }
- # Assuming there's no perl module named `fixtures', but only our directory
- # `test/fixtures' which is presented falsely.
- -re "\\sfixtures/\\s" { fail "$test" }
- -re "perldoc File::File::" { fail "$test" }
- -re /@ { unresolved "$test" }
- default { unresolved "$test" }
-}
-sync_after_int
-
-
-assert_complete_any "perldoc -"
-sync_after_int
-
-
-assert_complete "BashCompletionModule BashCompletionDoc" "perldoc BashCompletion"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/perltidy.exp b/test/lib/completions/perltidy.exp
deleted file mode 100644
index 09fa2b14..00000000
--- a/test/lib/completions/perltidy.exp
+++ /dev/null
@@ -1,27 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "perltidy "
-sync_after_int
-
-assert_complete_any "perltidy -h"
-sync_after_int
-
-assert_complete_any "perltidy -ole="
-sync_after_int
-
-assert_no_complete "perltidy -doesntexist="
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pgrep.exp b/test/lib/completions/pgrep.exp
deleted file mode 100644
index c6276f71..00000000
--- a/test/lib/completions/pgrep.exp
+++ /dev/null
@@ -1,19 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-# "p": Assume that our process name completion runs ps
-assert_complete_any "pgrep p"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/phing.exp b/test/lib/completions/phing.exp
deleted file mode 100644
index f064ea4a..00000000
--- a/test/lib/completions/phing.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "phing -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pidof.exp b/test/lib/completions/pidof.exp
deleted file mode 100644
index d8ab9e8c..00000000
--- a/test/lib/completions/pidof.exp
+++ /dev/null
@@ -1,19 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-# "p": Assume that our process name completion runs ps
-assert_complete_any "pidof p"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pine.exp b/test/lib/completions/pine.exp
deleted file mode 100644
index 9919a4cb..00000000
--- a/test/lib/completions/pine.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pine -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pinfo.exp b/test/lib/completions/pinfo.exp
deleted file mode 100644
index de241ff5..00000000
--- a/test/lib/completions/pinfo.exp
+++ /dev/null
@@ -1,23 +0,0 @@
-proc setup {} {
- assert_bash_exec {OLDINFOPATH=$INFOPATH; INFOPATH=$INFOPATH:$TESTDIR/fixtures/info:}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
- assert_bash_exec {INFOPATH="$OLDINFOPATH"; unset -v OLDINFOPATH}
-}
-
-
-setup
-
-
-assert_complete_any "pinfo bash"
-sync_after_int
-
-assert_complete_any "pinfo -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ping.exp b/test/lib/completions/ping.exp
deleted file mode 100644
index 9ef7f2fd..00000000
--- a/test/lib/completions/ping.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ping "
-sync_after_int
-
-assert_complete_any "ping -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkg-config.exp b/test/lib/completions/pkg-config.exp
deleted file mode 100644
index adf9a301..00000000
--- a/test/lib/completions/pkg-config.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkg-config -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkg-get.exp b/test/lib/completions/pkg-get.exp
deleted file mode 100644
index 38b2b97f..00000000
--- a/test/lib/completions/pkg-get.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkg-get "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkg_deinstall.exp b/test/lib/completions/pkg_deinstall.exp
deleted file mode 100644
index c2b3ae0b..00000000
--- a/test/lib/completions/pkg_deinstall.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- assert_bash_exec {PKG_DBDIR=$::srcdir/fixtures/pkgtools/db}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set pkgs [exec bash -c "cd $::srcdir/fixtures/pkgtools/db ; compgen -d"]
-assert_complete $pkgs "pkg_deinstall "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkg_delete.exp b/test/lib/completions/pkg_delete.exp
deleted file mode 100644
index 37ce4035..00000000
--- a/test/lib/completions/pkg_delete.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkg_delete "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkg_info.exp b/test/lib/completions/pkg_info.exp
deleted file mode 100644
index ad8ed84e..00000000
--- a/test/lib/completions/pkg_info.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkg_info "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkgadd.exp b/test/lib/completions/pkgadd.exp
deleted file mode 100644
index ba5eadf9..00000000
--- a/test/lib/completions/pkgadd.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkgadd "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkgrm.exp b/test/lib/completions/pkgrm.exp
deleted file mode 100644
index 08c685c4..00000000
--- a/test/lib/completions/pkgrm.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkgrm "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkgtool.exp b/test/lib/completions/pkgtool.exp
deleted file mode 100644
index c071ecd4..00000000
--- a/test/lib/completions/pkgtool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkgtool -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkgutil.exp b/test/lib/completions/pkgutil.exp
deleted file mode 100644
index e79dea15..00000000
--- a/test/lib/completions/pkgutil.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkgutil "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pkill.exp b/test/lib/completions/pkill.exp
deleted file mode 100644
index 6faddfc3..00000000
--- a/test/lib/completions/pkill.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pkill "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/plague-client.exp b/test/lib/completions/plague-client.exp
deleted file mode 100644
index ddcc8491..00000000
--- a/test/lib/completions/plague-client.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "plague-client "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pm-hibernate.exp b/test/lib/completions/pm-hibernate.exp
deleted file mode 100644
index 1a20603d..00000000
--- a/test/lib/completions/pm-hibernate.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pm-hibernate -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pm-is-supported.exp b/test/lib/completions/pm-is-supported.exp
deleted file mode 100644
index 8bd136ff..00000000
--- a/test/lib/completions/pm-is-supported.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pm-is-supported -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pm-powersave.exp b/test/lib/completions/pm-powersave.exp
deleted file mode 100644
index dea37139..00000000
--- a/test/lib/completions/pm-powersave.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pm-powersave "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pngfix.exp b/test/lib/completions/pngfix.exp
deleted file mode 100644
index d492610d..00000000
--- a/test/lib/completions/pngfix.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pngfix "
-sync_after_int
-
-assert_complete_any "pngfix -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/portinstall.exp b/test/lib/completions/portinstall.exp
deleted file mode 100644
index ab14afa8..00000000
--- a/test/lib/completions/portinstall.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- assert_bash_exec {PORTSDIR=$TESTDIR/tmp; sed -e s,PORTSDIR,$PORTSDIR,g $::srcdir/fixtures/pkgtools/ports/INDEX.dist > $PORTSDIR/INDEX; cp $PORTSDIR/INDEX $PORTSDIR/INDEX-5}
- save_env
-}
-
-
-proc teardown {} {
- assert_bash_exec {rm $PORTSDIR/INDEX $PORTSDIR/INDEX-5}
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete "bash-2.05b.007_6 bash-3.1.17 bash-completion-20060301_2 shells/bash shells/bash-completion shells/bash2" "portinstall "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/portsnap.exp b/test/lib/completions/portsnap.exp
deleted file mode 100644
index d6028cae..00000000
--- a/test/lib/completions/portsnap.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "portsnap "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/portupgrade.exp b/test/lib/completions/portupgrade.exp
deleted file mode 100644
index 62b5789d..00000000
--- a/test/lib/completions/portupgrade.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- assert_bash_exec {PKG_DBDIR=fixtures/pkgtools/db}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete "a b-c-d" "portupgrade "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/postcat.exp b/test/lib/completions/postcat.exp
deleted file mode 100644
index 78636676..00000000
--- a/test/lib/completions/postcat.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "postcat "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/postconf.exp b/test/lib/completions/postconf.exp
deleted file mode 100644
index a7f26714..00000000
--- a/test/lib/completions/postconf.exp
+++ /dev/null
@@ -1,29 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-# Broken configs may abort output of postconf halfway through, so use
-# something from early output to not trigger false positives because of
-# this. For example, inet_protocols=all but no IPv6 configured:
-# postconf: fatal: parameter inet_interfaces: no local interface found for ::1
-# ...and output can be cut off somewhere near lmtp_tls_secur*.
-# ...or be completely missing, so all we can do is to skip.
-set test "\"postconf al\" should complete al* variables"
-if {[assert_exec {postconf} "" "" "untested"]} {
- assert_complete_any "postconf al"
-}
-sync_after_int
-
-assert_complete_any "postconf -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/postfix.exp b/test/lib/completions/postfix.exp
deleted file mode 100644
index d1cb7e80..00000000
--- a/test/lib/completions/postfix.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "postfix "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/postmap.exp b/test/lib/completions/postmap.exp
deleted file mode 100644
index af31061f..00000000
--- a/test/lib/completions/postmap.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "postmap "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/postsuper.exp b/test/lib/completions/postsuper.exp
deleted file mode 100644
index 145895e2..00000000
--- a/test/lib/completions/postsuper.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "postsuper "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/povray.exp b/test/lib/completions/povray.exp
deleted file mode 100644
index 30d58e48..00000000
--- a/test/lib/completions/povray.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "povray "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pr.exp b/test/lib/completions/pr.exp
deleted file mode 100644
index 478017b2..00000000
--- a/test/lib/completions/pr.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pr "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/prelink.exp b/test/lib/completions/prelink.exp
deleted file mode 100644
index 4a493667..00000000
--- a/test/lib/completions/prelink.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "prelink "
-sync_after_int
-
-assert_complete_any "prelink -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/protoc.exp b/test/lib/completions/protoc.exp
deleted file mode 100644
index caeb8274..00000000
--- a/test/lib/completions/protoc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "protoc "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/psql.exp b/test/lib/completions/psql.exp
deleted file mode 100644
index 3dbffaf2..00000000
--- a/test/lib/completions/psql.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "psql -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ptx.exp b/test/lib/completions/ptx.exp
deleted file mode 100644
index 220243c3..00000000
--- a/test/lib/completions/ptx.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ptx "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/puppet.exp b/test/lib/completions/puppet.exp
deleted file mode 100644
index 8b82a160..00000000
--- a/test/lib/completions/puppet.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "puppet "
-sync_after_int
-
-assert_complete_any "puppet agent --"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pushd.exp b/test/lib/completions/pushd.exp
deleted file mode 100644
index 54e3ad8b..00000000
--- a/test/lib/completions/pushd.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pushd "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pv.exp b/test/lib/completions/pv.exp
deleted file mode 100644
index 64d685ae..00000000
--- a/test/lib/completions/pv.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pv "
-sync_after_int
-
-assert_complete_any "pv -"
-sync_after_int
-
-assert_complete_any "pv --pidfile "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pvchange.exp b/test/lib/completions/pvchange.exp
deleted file mode 100644
index f317b52f..00000000
--- a/test/lib/completions/pvchange.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {pvchange --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "pvchange --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pvcreate.exp b/test/lib/completions/pvcreate.exp
deleted file mode 100644
index 6e36b368..00000000
--- a/test/lib/completions/pvcreate.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {pvcreate --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "pvcreate --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pvdisplay.exp b/test/lib/completions/pvdisplay.exp
deleted file mode 100644
index 7b1df0c3..00000000
--- a/test/lib/completions/pvdisplay.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {pvdisplay --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "pvdisplay --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pvmove.exp b/test/lib/completions/pvmove.exp
deleted file mode 100644
index 24d17006..00000000
--- a/test/lib/completions/pvmove.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pvmove --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pvremove.exp b/test/lib/completions/pvremove.exp
deleted file mode 100644
index 6d655e79..00000000
--- a/test/lib/completions/pvremove.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {pvremove --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "pvremove --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pvs.exp b/test/lib/completions/pvs.exp
deleted file mode 100644
index 195665fd..00000000
--- a/test/lib/completions/pvs.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {pvs --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "pvs --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pvscan.exp b/test/lib/completions/pvscan.exp
deleted file mode 100644
index d3b8ad33..00000000
--- a/test/lib/completions/pvscan.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pvscan --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pwck.exp b/test/lib/completions/pwck.exp
deleted file mode 100644
index e7c5706c..00000000
--- a/test/lib/completions/pwck.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pwck "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pwd.exp b/test/lib/completions/pwd.exp
deleted file mode 100644
index 3690076a..00000000
--- a/test/lib/completions/pwd.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pwd -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pwdx.exp b/test/lib/completions/pwdx.exp
deleted file mode 100644
index 314623bd..00000000
--- a/test/lib/completions/pwdx.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pwdx "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pwgen.exp b/test/lib/completions/pwgen.exp
deleted file mode 100644
index b8882b68..00000000
--- a/test/lib/completions/pwgen.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pwgen -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/py.test.exp b/test/lib/completions/py.test.exp
deleted file mode 100644
index 736b9828..00000000
--- a/test/lib/completions/py.test.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "py.test "
-sync_after_int
-
-assert_complete_any "py.test -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pycodestyle.exp b/test/lib/completions/pycodestyle.exp
deleted file mode 100644
index a4d095e0..00000000
--- a/test/lib/completions/pycodestyle.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pycodestyle "
-sync_after_int
-
-assert_complete_any "pycodestyle -"
-sync_after_int
-
-assert_no_complete "pycodestyle --doesnt-exist="
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pydoc.exp b/test/lib/completions/pydoc.exp
deleted file mode 100644
index fe573693..00000000
--- a/test/lib/completions/pydoc.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pydoc r"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pyflakes.exp b/test/lib/completions/pyflakes.exp
deleted file mode 100644
index 22a8cf7c..00000000
--- a/test/lib/completions/pyflakes.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pyflakes "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pylint.exp b/test/lib/completions/pylint.exp
deleted file mode 100644
index 62774220..00000000
--- a/test/lib/completions/pylint.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pylint -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/python.exp b/test/lib/completions/python.exp
deleted file mode 100644
index be0e8a2d..00000000
--- a/test/lib/completions/python.exp
+++ /dev/null
@@ -1,48 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "python "
-sync_after_int
-
-assert_complete_any "python -"
-sync_after_int
-
-assert_no_complete "python -c "
-sync_after_int
-
-assert_complete {"bar bar.d/" foo.d/} "python $::srcdir/fixtures/shared/default/"
-sync_after_int
-
-assert_complete {bar "bar bar.d/" foo foo.d/} "python -c foo $::srcdir/fixtures/shared/default/"
-sync_after_int
-
-assert_no_complete "python -c foo -"
-sync_after_int
-
-assert_no_complete "python -m foo -"
-sync_after_int
-
-assert_complete_any "python -m sy"
-sync_after_int
-
-assert_complete_any "python -m json."
-sync_after_int
-
-assert_complete_any "python -W "
-sync_after_int
-
-assert_complete_any "python -Wa"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/pyvenv.exp b/test/lib/completions/pyvenv.exp
deleted file mode 100644
index 9eca0e4c..00000000
--- a/test/lib/completions/pyvenv.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "pyvenv "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/qemu.exp b/test/lib/completions/qemu.exp
deleted file mode 100644
index cd3d5938..00000000
--- a/test/lib/completions/qemu.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "qemu "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/qrunner.exp b/test/lib/completions/qrunner.exp
deleted file mode 100644
index 0dec16cc..00000000
--- a/test/lib/completions/qrunner.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "qrunner -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/querybts.exp b/test/lib/completions/querybts.exp
deleted file mode 100644
index 4ed09d8a..00000000
--- a/test/lib/completions/querybts.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "querybts --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/quota.exp b/test/lib/completions/quota.exp
deleted file mode 100644
index 1eb9f161..00000000
--- a/test/lib/completions/quota.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "quota "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/quotacheck.exp b/test/lib/completions/quotacheck.exp
deleted file mode 100644
index 353d204a..00000000
--- a/test/lib/completions/quotacheck.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "quotacheck -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/quotaon.exp b/test/lib/completions/quotaon.exp
deleted file mode 100644
index b8279e59..00000000
--- a/test/lib/completions/quotaon.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "quotaon -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/radvdump.exp b/test/lib/completions/radvdump.exp
deleted file mode 100644
index ad1363fd..00000000
--- a/test/lib/completions/radvdump.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "radvdump -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rcs.exp b/test/lib/completions/rcs.exp
deleted file mode 100644
index 781ac37f..00000000
--- a/test/lib/completions/rcs.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rcs "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rcsdiff.exp b/test/lib/completions/rcsdiff.exp
deleted file mode 100644
index 23b009c6..00000000
--- a/test/lib/completions/rcsdiff.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rcsdiff "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rdesktop.exp b/test/lib/completions/rdesktop.exp
deleted file mode 100644
index 32544941..00000000
--- a/test/lib/completions/rdesktop.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rdesktop -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rdict.exp b/test/lib/completions/rdict.exp
deleted file mode 100644
index 5d6ad847..00000000
--- a/test/lib/completions/rdict.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rdict --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/readelf.exp b/test/lib/completions/readelf.exp
deleted file mode 100644
index c2d5ee5b..00000000
--- a/test/lib/completions/readelf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "readelf --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/readonly.exp b/test/lib/completions/readonly.exp
deleted file mode 100644
index cf64ca0a..00000000
--- a/test/lib/completions/readonly.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "readonly BASH_ARG"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/remove_members.exp b/test/lib/completions/remove_members.exp
deleted file mode 100644
index 59f7b6c4..00000000
--- a/test/lib/completions/remove_members.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "remove_members --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/removepkg.exp b/test/lib/completions/removepkg.exp
deleted file mode 100644
index b7cf4b1c..00000000
--- a/test/lib/completions/removepkg.exp
+++ /dev/null
@@ -1,35 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/ROOT=/d}
-}
-
-
-setup
-
-
-set test "-<TAB> should complete all options"
-set options [list -copy -keep -preserve -warn]
-assert_complete $options "removepkg -" $test
-
-
-sync_after_int
-
-
-set test "should complete files in \$ROOT/var/log/packages/"
-# set env(ROOT) [file normalize $::srcdir/fixtures/slackware]
-# set dir $env(ROOT)/var/log/packages/
-set root [file normalize $::srcdir/fixtures/slackware]
-set dir $root/var/log/packages/
-assert_bash_exec "ROOT=$root"
-set files [split [exec bash -c "cd $dir && ls"] "\n"]
-assert_complete $files "removepkg " $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/renice.exp b/test/lib/completions/renice.exp
deleted file mode 100644
index 5e25ddea..00000000
--- a/test/lib/completions/renice.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_bash_type ps]} {
-
- assert_complete_any "renice 1"
- sync_after_int
-
- assert_complete_any "renice -g "
- sync_after_int
-
-}
-
-
-teardown
diff --git a/test/lib/completions/repomanage.exp b/test/lib/completions/repomanage.exp
deleted file mode 100644
index de5169bc..00000000
--- a/test/lib/completions/repomanage.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "repomanage "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/reportbug.exp b/test/lib/completions/reportbug.exp
deleted file mode 100644
index 660778f7..00000000
--- a/test/lib/completions/reportbug.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "reportbug --m"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/reptyr.exp b/test/lib/completions/reptyr.exp
deleted file mode 100644
index 35ccb91c..00000000
--- a/test/lib/completions/reptyr.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "reptyr -"
-sync_after_int
-
-
-assert_complete_any "reptyr "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/resolvconf.exp b/test/lib/completions/resolvconf.exp
deleted file mode 100644
index d1eaf246..00000000
--- a/test/lib/completions/resolvconf.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "resolvconf -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rfcomm.exp b/test/lib/completions/rfcomm.exp
deleted file mode 100644
index b449134c..00000000
--- a/test/lib/completions/rfcomm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rfcomm "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rfkill.exp b/test/lib/completions/rfkill.exp
deleted file mode 100644
index ab0f1811..00000000
--- a/test/lib/completions/rfkill.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rfkill "
-sync_after_int
-
-assert_complete_any "rfkill -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ri.exp b/test/lib/completions/ri.exp
deleted file mode 100644
index 1210685b..00000000
--- a/test/lib/completions/ri.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- assert_bash_exec {OLDRI="$RI"; export RI="-d $SRCDIR/fixtures/ri"}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
- assert_bash_exec {RI="$OLDRI"; unset -v OLDRI}
-}
-
-
-setup
-
-
-assert_complete_any "ri -"
-sync_after_int
-
-assert_complete "BashCompletion/ cache.ri" "ri --dump=$::srcdir/fixtures/ri/"
-sync_after_int
-
-assert_complete "BashCompletion" "ri BashCompletio"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rlog.exp b/test/lib/completions/rlog.exp
deleted file mode 100644
index 87984a8d..00000000
--- a/test/lib/completions/rlog.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rlog "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rm.exp b/test/lib/completions/rm.exp
deleted file mode 100644
index f764a8e7..00000000
--- a/test/lib/completions/rm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rm "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rmdir.exp b/test/lib/completions/rmdir.exp
deleted file mode 100644
index 1a904b64..00000000
--- a/test/lib/completions/rmdir.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rmdir "
-
-
-sync_after_int
-
-
-assert_complete {"bar bar.d/" foo.d/} "rmdir $::srcdir/fixtures/shared/default/"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rmlist.exp b/test/lib/completions/rmlist.exp
deleted file mode 100644
index d530d117..00000000
--- a/test/lib/completions/rmlist.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rmlist -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rmmod.exp b/test/lib/completions/rmmod.exp
deleted file mode 100644
index 6c563211..00000000
--- a/test/lib/completions/rmmod.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rmmod -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/route.exp b/test/lib/completions/route.exp
deleted file mode 100644
index 76e1b5e0..00000000
--- a/test/lib/completions/route.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "route "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rpcdebug.exp b/test/lib/completions/rpcdebug.exp
deleted file mode 100644
index 7f1a1c2f..00000000
--- a/test/lib/completions/rpcdebug.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rpcdebug -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rpm.exp b/test/lib/completions/rpm.exp
deleted file mode 100644
index 82ab28dc..00000000
--- a/test/lib/completions/rpm.exp
+++ /dev/null
@@ -1,29 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rpm "
-
-
-sync_after_int
-
-
- # Build list of installed packages
-if {[assert_exec {rpm -qa --qf=%\{NAME\}\n | sort -u} packages]} {
- assert_complete $packages "rpm -q "
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rpm2tgz.exp b/test/lib/completions/rpm2tgz.exp
deleted file mode 100644
index eb597982..00000000
--- a/test/lib/completions/rpm2tgz.exp
+++ /dev/null
@@ -1,31 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-assert_complete_any "rpm2tgz -"
-
-
-sync_after_int
-
-
-set test "should complete *.rpm files and dirs"
-set dir $::srcdir/fixtures/slackware/home
-set files [split [exec bash -c "cd $dir && find . -mindepth 1 -maxdepth 1 \
- \\( -type d -printf '%P/\\n' \\) -o \
- \\( -type f -name '*.rpm' -printf '%P\\n' \\)"] "\n"]
-assert_complete_dir $files "rpm2tgz " $dir $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rpmbuild.exp b/test/lib/completions/rpmbuild.exp
deleted file mode 100644
index 4058d722..00000000
--- a/test/lib/completions/rpmbuild.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rpmbuild -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rrdtool.exp b/test/lib/completions/rrdtool.exp
deleted file mode 100644
index 3fb392e4..00000000
--- a/test/lib/completions/rrdtool.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rrdtool "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rsync.exp b/test/lib/completions/rsync.exp
deleted file mode 100644
index accc6569..00000000
--- a/test/lib/completions/rsync.exp
+++ /dev/null
@@ -1,28 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {
- /_scp_path_esc=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "rsync "
-sync_after_int
-
-
-assert_complete "rsh ssh" "rsync --rsh "
-sync_after_int
-
-
-assert_complete "rsh ssh" "rsync --rsh="
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/rtcwake.exp b/test/lib/completions/rtcwake.exp
deleted file mode 100644
index 81ca3206..00000000
--- a/test/lib/completions/rtcwake.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "rtcwake "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/runuser.exp b/test/lib/completions/runuser.exp
deleted file mode 100644
index 051abe1d..00000000
--- a/test/lib/completions/runuser.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "runuser "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sbcl-mt.exp b/test/lib/completions/sbcl-mt.exp
deleted file mode 100644
index a80e543b..00000000
--- a/test/lib/completions/sbcl-mt.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete {bar "bar bar.d/" foo foo.d/} "sbcl-mt $::srcdir/fixtures/shared/default/"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sbcl.exp b/test/lib/completions/sbcl.exp
deleted file mode 100644
index 3adeb6bf..00000000
--- a/test/lib/completions/sbcl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete {bar "bar bar.d/" foo foo.d/} "sbcl $::srcdir/fixtures/shared/default/"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sbopkg.exp b/test/lib/completions/sbopkg.exp
deleted file mode 100644
index c4dbfe26..00000000
--- a/test/lib/completions/sbopkg.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sbopkg -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/scp.exp b/test/lib/completions/scp.exp
index 6b06cb25..1497a7fb 100644
--- a/test/lib/completions/scp.exp
+++ b/test/lib/completions/scp.exp
@@ -23,11 +23,11 @@ set test "Tab should complete remote pwd"
set host bash_completion
# Retrieving home directory (host_pwd) from ssh-host `bash_completion'
- # yields error?
+ # yields error?
if {
[catch {
- exec -- ssh -o "Batchmode yes" -o "ConnectTimeout 1" $host pwd 2>> /dev/null
- } host_pwd]
+ exec -- ssh -o "Batchmode yes" -o "ConnectTimeout 1" $host pwd 2>>/dev/null
+ } host_pwd]
} {
# Yes, retrieving pwd from ssh yields error; reset `host_pwd'
# Indicate host pwd is unknown and test is unsupported
diff --git a/test/lib/completions/screen.exp b/test/lib/completions/screen.exp
deleted file mode 100644
index a5b8c69f..00000000
--- a/test/lib/completions/screen.exp
+++ /dev/null
@@ -1,36 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-assert_complete_any "screen -"
-sync_after_int
-
-
-assert_complete {bar "bar bar.d/" foo foo.d/} \
- "screen -c $::srcdir/fixtures/shared/default/" "-c should complete files/dirs"
-sync_after_int
-
-
-assert_complete_any "screen cat"
-sync_after_int
-
-
-# Limit number of matches, assume at least vt100 and friends are there
-assert_complete_any "screen -T vt"
-sync_after_int
-
-
-assert_complete_any "screen -T foo cat"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sdptool.exp b/test/lib/completions/sdptool.exp
deleted file mode 100644
index c46a1fa2..00000000
--- a/test/lib/completions/sdptool.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sdptool "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sed.exp b/test/lib/completions/sed.exp
deleted file mode 100644
index dd480a60..00000000
--- a/test/lib/completions/sed.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {sed --help} "" "" "unsupported"]} {
- assert_complete_any "sed --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/seq.exp b/test/lib/completions/seq.exp
deleted file mode 100644
index 6e5ef8dc..00000000
--- a/test/lib/completions/seq.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "seq --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/service.exp b/test/lib/completions/service.exp
deleted file mode 100644
index f3cf7355..00000000
--- a/test/lib/completions/service.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "service "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/set.exp b/test/lib/completions/set.exp
deleted file mode 100644
index c14ecff6..00000000
--- a/test/lib/completions/set.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "set no"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/setquota.exp b/test/lib/completions/setquota.exp
deleted file mode 100644
index d169e1ad..00000000
--- a/test/lib/completions/setquota.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "setquota "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sftp.exp b/test/lib/completions/sftp.exp
index 3c18ddb7..c5c0919f 100644
--- a/test/lib/completions/sftp.exp
+++ b/test/lib/completions/sftp.exp
@@ -57,8 +57,4 @@ assert_complete $expected "sftp -F spaced\\ \\ conf "
sync_after_int
-assert_complete "-Fspaced\\ \\ conf" "sftp -Fsp" "-F should complete filename"
-sync_after_int
-
-
teardown
diff --git a/test/lib/completions/sh.exp b/test/lib/completions/sh.exp
deleted file mode 100644
index e1a51bb9..00000000
--- a/test/lib/completions/sh.exp
+++ /dev/null
@@ -1,38 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sh -"
-
-
-sync_after_int
-
-
-assert_complete_any "sh +"
-
-
-sync_after_int
-
-
-assert_complete_any "sh -o "
-
-
-sync_after_int
-
-
-assert_no_complete "sh -c "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sha1sum.exp b/test/lib/completions/sha1sum.exp
deleted file mode 100644
index c5983044..00000000
--- a/test/lib/completions/sha1sum.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sha1sum --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/shar.exp b/test/lib/completions/shar.exp
deleted file mode 100644
index 604a2031..00000000
--- a/test/lib/completions/shar.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "shar --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sitecopy.exp b/test/lib/completions/sitecopy.exp
deleted file mode 100644
index 7e0c87fe..00000000
--- a/test/lib/completions/sitecopy.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sitecopy --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/slackpkg.exp b/test/lib/completions/slackpkg.exp
deleted file mode 100644
index 150f03fc..00000000
--- a/test/lib/completions/slackpkg.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "slackpkg -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/slapt-get.exp b/test/lib/completions/slapt-get.exp
index 7f5375a4..4522610d 100644
--- a/test/lib/completions/slapt-get.exp
+++ b/test/lib/completions/slapt-get.exp
@@ -11,26 +11,6 @@ proc teardown {} {
setup
-assert_complete_any "slapt-get -"
-
-
-sync_after_int
-
-
-set test "--up<TAB> should complete \"--update --upgrade\""
-assert_complete "--update --upgrade" "slapt-get --up" $test
-
-
-sync_after_int
-
-
-set test "--install should not complete anything if config doesn't exist"
-assert_no_complete "slapt-get -c non-existent-file --install " $test
-
-
-sync_after_int
-
-
set test "--install should complete available packages"
set config $::srcdir/fixtures/slackware/etc/slapt-get/slapt-getrc
set workdir [file normalize $::srcdir/fixtures/slackware/var/slapt-get/]
diff --git a/test/lib/completions/slapt-src.exp b/test/lib/completions/slapt-src.exp
index 9410f9c1..b66385ef 100644
--- a/test/lib/completions/slapt-src.exp
+++ b/test/lib/completions/slapt-src.exp
@@ -11,26 +11,6 @@ proc teardown {} {
setup
-assert_complete_any "slapt-src -"
-
-
-sync_after_int
-
-
-set test "--bu<TAB> should complete \"--build\""
-assert_complete "--build" "slapt-src --bu" $test
-
-
-sync_after_int
-
-
-set test "--ins<TAB> should complete \"--install\""
-assert_complete "--install" "slapt-src --ins" $test
-
-
-sync_after_int
-
-
set test "--install should complete available packages"
set config $::srcdir/fixtures/slackware/etc/slapt-get/slapt-srcrc
set workdir [file normalize $::srcdir/fixtures/slackware/usr/src/slapt-src/]
diff --git a/test/lib/completions/smartctl.exp b/test/lib/completions/smartctl.exp
deleted file mode 100644
index 24919396..00000000
--- a/test/lib/completions/smartctl.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smartctl --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/smbcacls.exp b/test/lib/completions/smbcacls.exp
deleted file mode 100644
index d501f825..00000000
--- a/test/lib/completions/smbcacls.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smbcacls -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/smbclient.exp b/test/lib/completions/smbclient.exp
deleted file mode 100644
index 0fb8e2da..00000000
--- a/test/lib/completions/smbclient.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smbclient -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/smbcquotas.exp b/test/lib/completions/smbcquotas.exp
deleted file mode 100644
index 24be2f60..00000000
--- a/test/lib/completions/smbcquotas.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smbcquotas -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/smbget.exp b/test/lib/completions/smbget.exp
deleted file mode 100644
index 938cd0e5..00000000
--- a/test/lib/completions/smbget.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smbget -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/smbpasswd.exp b/test/lib/completions/smbpasswd.exp
deleted file mode 100644
index b6e86bbc..00000000
--- a/test/lib/completions/smbpasswd.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smbpasswd -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/smbtar.exp b/test/lib/completions/smbtar.exp
deleted file mode 100644
index e0d58f5f..00000000
--- a/test/lib/completions/smbtar.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smbtar -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/smbtree.exp b/test/lib/completions/smbtree.exp
deleted file mode 100644
index b234e443..00000000
--- a/test/lib/completions/smbtree.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "smbtree -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/snownews.exp b/test/lib/completions/snownews.exp
deleted file mode 100644
index c8ad6741..00000000
--- a/test/lib/completions/snownews.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "snownews --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sort.exp b/test/lib/completions/sort.exp
deleted file mode 100644
index a130bbc8..00000000
--- a/test/lib/completions/sort.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sort --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/split.exp b/test/lib/completions/split.exp
deleted file mode 100644
index e13df49a..00000000
--- a/test/lib/completions/split.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {split --help} "" "" "unsupported"]} {
- assert_complete_any "split --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/spovray.exp b/test/lib/completions/spovray.exp
deleted file mode 100644
index 2b2c33de..00000000
--- a/test/lib/completions/spovray.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "spovray "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sqlite3.exp b/test/lib/completions/sqlite3.exp
deleted file mode 100644
index af1ada82..00000000
--- a/test/lib/completions/sqlite3.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sqlite3 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ss.exp b/test/lib/completions/ss.exp
deleted file mode 100644
index e64e33d9..00000000
--- a/test/lib/completions/ss.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ss -"
-sync_after_int
-
-assert_complete_any "ss -A "
-sync_after_int
-
-assert_complete_any "ss -A foo,"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ssh-add.exp b/test/lib/completions/ssh-add.exp
deleted file mode 100644
index 2fb2a9b4..00000000
--- a/test/lib/completions/ssh-add.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ssh-add "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ssh-copy-id.exp b/test/lib/completions/ssh-copy-id.exp
deleted file mode 100644
index 5abe303d..00000000
--- a/test/lib/completions/ssh-copy-id.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
- # Some old versions of ssh-copy-id won't output even usage if no
- # identities are found. Try to make sure there is at least one (for CI).
- assert_bash_exec {OLDHOME=$HOME ; HOME=$SRCDIR/fixtures/ssh-copy-id}
-}
-
-
-proc teardown {} {
- assert_bash_exec {HOME=$OLDHOME}
- assert_env_unmodified {
- /OLDHOME=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "ssh-copy-id -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ssh-keygen.exp b/test/lib/completions/ssh-keygen.exp
deleted file mode 100644
index fea2529e..00000000
--- a/test/lib/completions/ssh-keygen.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ssh-keygen -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ssh.exp b/test/lib/completions/ssh.exp
index c082558e..1702371c 100644
--- a/test/lib/completions/ssh.exp
+++ b/test/lib/completions/ssh.exp
@@ -19,21 +19,6 @@ proc teardown {} {
setup
-set test "Tab should complete both commands and hostname"
- # Try completion
-set cmd "ssh -F config ls"
-send "$cmd\t"
-set expected "^$cmd\r\n.*ls.*ls_known_host.*\r\n/@$cmd$"
-expect {
- -re $expected { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- default { unresolved "$test" }
-}
-
-
-sync_after_int
-
-
set test "-F without space shouldn't error"
# Try completion
set cmd "ssh -F"
@@ -50,15 +35,6 @@ expect {
sync_after_int
-set test "First argument shouldn't complete with commands"
-# NOTE: This test assumes there's a command "bash" and no host named "bash"
-set cmd "ssh bas"
-assert_complete [get_known_hosts "bas"] $cmd $test
-
-
-sync_after_int
-
-
set test "First argument should complete partial hostname"
# Build string list of hostnames, starting with the character of the first
# host, unless host starts with a COMP_WORDBREAKS character, e.g. a colon (:).
@@ -82,11 +58,4 @@ assert_complete $hosts "ssh $char" $test -ltrim-colon-completions -expect-cmd-mi
sync_after_int
-set test "-F should complete filename"
-assert_complete "-Fspaced\\ \\ conf" "ssh -Fsp" $test
-
-
-sync_after_int
-
-
teardown
diff --git a/test/lib/completions/sshfs.exp b/test/lib/completions/sshfs.exp
deleted file mode 100644
index 42adbd8b..00000000
--- a/test/lib/completions/sshfs.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {
- /_scp_path_esc=/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "sshfs ./"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sshmitm.exp b/test/lib/completions/sshmitm.exp
deleted file mode 100644
index 13b50673..00000000
--- a/test/lib/completions/sshmitm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sshmitm -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sshow.exp b/test/lib/completions/sshow.exp
deleted file mode 100644
index 074d7b12..00000000
--- a/test/lib/completions/sshow.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sshow -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/strace.exp b/test/lib/completions/strace.exp
deleted file mode 100644
index 933d1b48..00000000
--- a/test/lib/completions/strace.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "strace -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/stream.exp b/test/lib/completions/stream.exp
deleted file mode 100644
index 8cbda602..00000000
--- a/test/lib/completions/stream.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "stream "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/strings.exp b/test/lib/completions/strings.exp
deleted file mode 100644
index 103d5d3a..00000000
--- a/test/lib/completions/strings.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "strings "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/strip.exp b/test/lib/completions/strip.exp
deleted file mode 100644
index 00f4ab9c..00000000
--- a/test/lib/completions/strip.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "strip --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/su.exp b/test/lib/completions/su.exp
deleted file mode 100644
index 55dd80d1..00000000
--- a/test/lib/completions/su.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-assert_complete_any "su "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sudo.exp b/test/lib/completions/sudo.exp
index 5fdb97f1..73e485d6 100644
--- a/test/lib/completions/sudo.exp
+++ b/test/lib/completions/sudo.exp
@@ -11,36 +11,6 @@ proc teardown {} {
setup
-assert_complete_dir foo.d/ "sudo cd fo" $::srcdir/fixtures/shared/default \
- "" -nospace
-
-
-sync_after_int
-
-
-assert_complete_dir fixtures/ "sudo sh fix" $::srcdir "" -nospace
-
-
-sync_after_int
-
-
-# test that `mount` and `sudo mount` behave the same way
-set test "sudo mount /dev/sda1 def should complete directory name"
-assert_complete_dir "default/" "sudo mount /dev/sda1 def" $::srcdir/fixtures/shared $test -nospace
-
-
-sync_after_int
-
-
-set test "sudo -e should complete filenames and directories"
-set dir $::srcdir/fixtures/shared/default
-set files {foo foo.d/}
-assert_complete_dir $files "sudo -e -u root bar foo" $dir $test
-
-
-sync_after_int
-
-
# Find user/group suitable for testing.
set failed_find_unique_completion 0
foreach ug {user group} {
@@ -56,14 +26,6 @@ foreach ug {user group} {
# These tests require an unique completion.
if {!$failed_find_unique_completion} {
- assert_complete $fulluser "sudo chown $partuser"
- sync_after_int
-
- assert_complete $fulluser:$fullgroup "sudo chown $fulluser:$partgroup"
- sync_after_int
-
- assert_complete "dot.user:$fullgroup" "sudo chown dot.user:$partgroup"
- sync_after_int
foreach prefix {
"funky\\ user:" "funky.user:" "funky\\.user:" "fu\\ nky.user:"
@@ -74,21 +36,6 @@ if {!$failed_find_unique_completion} {
assert_complete $prefix$fullgroup "sudo chown $prefix$partgroup" $test
sync_after_int
}
-
- # Check that we give up in degenerate cases instead of spewing various junk.
-
- assert_no_complete "sudo chown $fulluser\\\\:$partgroup"
- sync_after_int
-
- assert_no_complete "sudo chown $fulluser\\\\\\:$partgroup"
- sync_after_int
-
- assert_no_complete "sudo chown $fulluser\\\\\\\\:$partgroup"
- sync_after_int
-
- # Colons in user/groupnames are not usually allowed.
- assert_no_complete "sudo chown foo:bar:$partgroup"
- sync_after_int
}
diff --git a/test/lib/completions/svcadm.exp b/test/lib/completions/svcadm.exp
deleted file mode 100644
index e7266146..00000000
--- a/test/lib/completions/svcadm.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "svcadm "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/svk.exp b/test/lib/completions/svk.exp
deleted file mode 100644
index a794a008..00000000
--- a/test/lib/completions/svk.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "svk "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/svn.exp b/test/lib/completions/svn.exp
deleted file mode 100644
index d1a08ae4..00000000
--- a/test/lib/completions/svn.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "svn "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/svnadmin.exp b/test/lib/completions/svnadmin.exp
deleted file mode 100644
index f20d52cf..00000000
--- a/test/lib/completions/svnadmin.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "svnadmin "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/svnlook.exp b/test/lib/completions/svnlook.exp
deleted file mode 100644
index 114435ec..00000000
--- a/test/lib/completions/svnlook.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "svnlook "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sync_members.exp b/test/lib/completions/sync_members.exp
deleted file mode 100644
index 817432bb..00000000
--- a/test/lib/completions/sync_members.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sync_members --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/synclient.exp b/test/lib/completions/synclient.exp
deleted file mode 100644
index 1e9c7b5b..00000000
--- a/test/lib/completions/synclient.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "synclient -"
-sync_after_int
-
-
-# synclient -l may error out with e.g.
-# Couldn't find synaptics properties. No synaptics driver loaded?
-if {[assert_exec {synclient -l} "" "" "unsupported"]} {
- assert_complete_any "synclient "
-}
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sysbench.exp b/test/lib/completions/sysbench.exp
deleted file mode 100644
index 2a0fe339..00000000
--- a/test/lib/completions/sysbench.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "sysbench "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/sysctl.exp b/test/lib/completions/sysctl.exp
deleted file mode 100644
index 6aa9ffe0..00000000
--- a/test/lib/completions/sysctl.exp
+++ /dev/null
@@ -1,23 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {sysctl -N -a 2>/dev/null | grep ^kern | sort -u} values]} {
- set test "sysctl kern should show completions"
- assert_complete $values "sysctl kern" $test -expect-cmd-minus kern
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tac.exp b/test/lib/completions/tac.exp
deleted file mode 100644
index d4fe7937..00000000
--- a/test/lib/completions/tac.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tac --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tail.exp b/test/lib/completions/tail.exp
deleted file mode 100644
index fd685b1a..00000000
--- a/test/lib/completions/tail.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {tail --help} "" "" "unsupported"]} {
- assert_complete_any "tail --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tar.exp b/test/lib/completions/tar.exp
deleted file mode 100644
index 75434e94..00000000
--- a/test/lib/completions/tar.exp
+++ /dev/null
@@ -1,132 +0,0 @@
-proc setup {} {
- save_env
-}
-
-proc teardown {} {
- assert_env_unmodified {
- /OLDPWD=/d
- /declare -f _tar/d
- }
-}
-
-setup
-
-# Detect whether system's tar is GNU tar
-set cmd "tar --version"
-send "$cmd\r"
-expect "^$cmd\r\n"
-expect {
- -re "GNU\[^\n\]*\n" {
- set tar_version gnu
- }
- -re ".*\n" {
- set tar_version unknown
- }
-}
-sync_after_int
-
-
-set test "old option: list escaped chars"
-assert_complete_dir "a/b\\'c/" "tar tf escape.tar a/b\\\'" $::srcdir/fixtures/tar $test
-sync_after_int
-
-# TODO: "tar tf escape.tar a/b"
-
-set test "check that any completion done"
-assert_complete_any "tar "
-sync_after_int
-
-# Use bsdtar as the it completes to only 'zc zt zx' ('tar' can be GNU tar and it
-# can would have more options)
-set test "old option: mode is not on first place"
-assert_complete {zc zt zx} "bsdtar z" $test
-sync_after_int
-
-set test "old option: test 'f' when mode is not as a first option"
-assert_complete_dir "dir/ dir2/" "tar zfc " $::srcdir/fixtures/tar
-sync_after_int
-
-set test "old option: creating archive and 'f' option"
-assert_complete_dir "dir/ dir2/" "tar cf " $::srcdir/fixtures/tar
-sync_after_int
-
-set test "old option: archive listing"
-assert_complete_dir "dir/fileA dir/fileB dir/fileC" "tar tf archive.tar.xz dir/file" $::srcdir/fixtures/tar
-sync_after_int
-
-set test "old option: check _second_ option in \"old\" argument"
-assert_complete_dir "dir/ dir2/" "bsdtar cbfvv NOT_EXISTS " $::srcdir/fixtures/tar
-sync_after_int
-
-set test "old option: create and members"
-assert_complete_dir "dir/ dir2/ archive.tar.xz escape.tar" "tar cTfvv NOT_EXISTS DONT_CREATE.tar " $::srcdir/fixtures/tar
-sync_after_int
-
-set test "old option: extract and archive"
-assert_complete_dir "dir/ dir2/ archive.tar.xz escape.tar" "tar xvf " $::srcdir/fixtures/tar
-sync_after_int
-
-if { "$tar_version" == "gnu" } {
- set test "check short options"
- assert_complete_any "tar -c"
- sync_after_int
-
- set test "mode not as a first option"
- assert_complete_dir "dir/ dir2/" "tar -zcf " $::srcdir/fixtures/tar
- sync_after_int
-
- # Only directories should be completed.
- set test "check that we do not suggest re-writing existing archive"
- assert_complete_dir "dir/ dir2/" "tar -cf " $::srcdir/fixtures/tar
- sync_after_int
-
- set test "check --file option"
- assert_complete_dir "dir/ dir2/" "tar -c --file " $::srcdir/fixtures/tar
- sync_after_int
-
- set test "check --file option #2"
- assert_complete_dir "dir/ dir2/" "tar -cvv --file " $::srcdir/fixtures/tar
- sync_after_int
-
- set test "archive listing"
- assert_complete_dir "dir/fileA dir/fileB dir/fileC" "tar -tf archive.tar.xz dir/file" $::srcdir/fixtures/tar
- sync_after_int
-
- set test "archive listing with --file"
- assert_complete_dir "dir/fileA dir/fileB dir/fileC" "tar -t --file archive.tar.xz dir/file" $::srcdir/fixtures/tar
- sync_after_int
-
- # Some random options should work:
- set test "test random tar's long option #1"
- assert_complete "--blocking-factor= --block-number" "tar --block" $test
- sync_after_int
-
- set test "test random tar's long option #2"
- assert_complete "--add-file=" "tar --add-fil" $test -nospace
- sync_after_int
-
- set test "test random tar's long option #3"
- assert_complete "--posix" "tar -cf /dev/null --posi" $test
- sync_after_int
-
- # --owner
- set users [exec bash -c "compgen -A user"]
- set test "test --owner option"
- assert_complete $users "tar --owner=" $test
- sync_after_int
-
- # --group
- set groups [exec bash -c "compgen -A group"]
- set test "test --group option"
- assert_complete $groups "tar --group=" $test
- sync_after_int
-
- # use -b for this as -b is still not handled by tar's completion
- set test "short opt -XXXb <TAB> (arg required)"
- assert_no_complete "tar -cvvfb " $test
- sync_after_int
-
- # TODO: how to test that 'tar -cf<TAB>' completes to 'tar -cf '
-}
-
-teardown
diff --git a/test/lib/completions/tcpdump.exp b/test/lib/completions/tcpdump.exp
deleted file mode 100644
index 79158abf..00000000
--- a/test/lib/completions/tcpdump.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tcpdump -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tcpkill.exp b/test/lib/completions/tcpkill.exp
deleted file mode 100644
index d3a45e43..00000000
--- a/test/lib/completions/tcpkill.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tcpkill -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tcpnice.exp b/test/lib/completions/tcpnice.exp
deleted file mode 100644
index b4b93097..00000000
--- a/test/lib/completions/tcpnice.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tcpnice -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tee.exp b/test/lib/completions/tee.exp
deleted file mode 100644
index 1058bb8e..00000000
--- a/test/lib/completions/tee.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tee "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/texindex.exp b/test/lib/completions/texindex.exp
deleted file mode 100644
index 43b4c09a..00000000
--- a/test/lib/completions/texindex.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "texindex --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tightvncviewer.exp b/test/lib/completions/tightvncviewer.exp
deleted file mode 100644
index ee987f60..00000000
--- a/test/lib/completions/tightvncviewer.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tightvncviewer "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/time.exp b/test/lib/completions/time.exp
deleted file mode 100644
index d052458c..00000000
--- a/test/lib/completions/time.exp
+++ /dev/null
@@ -1,36 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-assert_complete_any "time set"
-
-
-sync_after_int
-
-
-set test "-p find -typ should complete find's options"
-assert_complete "-type" "time -p find -typ" $test
-
-
-sync_after_int
-
-
-set test "it should be possible to complete file paths"
-set dir $::srcdir/fixtures/shared
-set files [split [exec bash -c "cd $dir/bin && ls -p"] "\n"]
-assert_complete_dir $files "time ./bin/" $dir $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/timeout.exp b/test/lib/completions/timeout.exp
deleted file mode 100644
index f56c80f3..00000000
--- a/test/lib/completions/timeout.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "timeout -"
-sync_after_int
-
-assert_no_complete "timeout " "1st non-option arg=timeout, shouldn't complete"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tipc.exp b/test/lib/completions/tipc.exp
deleted file mode 100644
index dd88de31..00000000
--- a/test/lib/completions/tipc.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tipc "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/touch.exp b/test/lib/completions/touch.exp
deleted file mode 100644
index 61d22b33..00000000
--- a/test/lib/completions/touch.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {touch --help} "" "" "unsupported"]} {
- assert_complete_any "touch --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tox.exp b/test/lib/completions/tox.exp
deleted file mode 100644
index 55106326..00000000
--- a/test/lib/completions/tox.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tox -"
-sync_after_int
-
-assert_complete "ALL" "tox -e "
-sync_after_int
-
-assert_complete "ALL" "tox -e foo,"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tr.exp b/test/lib/completions/tr.exp
deleted file mode 100644
index c10c8ba1..00000000
--- a/test/lib/completions/tr.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {tr --help} "" "" "unsupported"]} {
- assert_complete_any "tr --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tracepath.exp b/test/lib/completions/tracepath.exp
deleted file mode 100644
index 33b32567..00000000
--- a/test/lib/completions/tracepath.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tracepath "
-sync_after_int
-
-assert_complete_any "tracepath -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tshark.exp b/test/lib/completions/tshark.exp
deleted file mode 100644
index 9e7d9d31..00000000
--- a/test/lib/completions/tshark.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tshark -"
-sync_after_int
-
-assert_complete_any "tshark -G "
-sync_after_int
-
-assert_complete_any "tshark -O foo,htt"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/tune2fs.exp b/test/lib/completions/tune2fs.exp
deleted file mode 100644
index df70d904..00000000
--- a/test/lib/completions/tune2fs.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "tune2fs "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/udevadm.exp b/test/lib/completions/udevadm.exp
deleted file mode 100644
index 87a948a8..00000000
--- a/test/lib/completions/udevadm.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "udevadm "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/umount.exp b/test/lib/completions/umount.exp
index e7703d12..03144355 100644
--- a/test/lib/completions/umount.exp
+++ b/test/lib/completions/umount.exp
@@ -37,12 +37,6 @@ proc teardown {} {
setup
-assert_complete_any "umount "
-
-
-sync_after_int
-
-
set test "Testing internal __linux_fstab_unescape function for umount"
# One round of slashes is for bash.
assert_bash_exec {var=one\'two\\040three\\}
diff --git a/test/lib/completions/unace.exp b/test/lib/completions/unace.exp
deleted file mode 100644
index c9d7606e..00000000
--- a/test/lib/completions/unace.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "unace -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/uname.exp b/test/lib/completions/uname.exp
deleted file mode 100644
index 0c363ab5..00000000
--- a/test/lib/completions/uname.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {uname --help} "" "" "unsupported"]} {
- assert_complete_any "uname --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/unexpand.exp b/test/lib/completions/unexpand.exp
deleted file mode 100644
index c9aecc25..00000000
--- a/test/lib/completions/unexpand.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {unexpand --help} "" "" "unsupported"]} {
- assert_complete_any "unexpand --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/uniq.exp b/test/lib/completions/uniq.exp
deleted file mode 100644
index d516106c..00000000
--- a/test/lib/completions/uniq.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {uniq --help} "" "" "unsupported"]} {
- assert_complete_any "uniq --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/units.exp b/test/lib/completions/units.exp
deleted file mode 100644
index 96ec91d1..00000000
--- a/test/lib/completions/units.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {units --help} "" "" "unsupported"]} {
- assert_complete_any "units --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/unpack200.exp b/test/lib/completions/unpack200.exp
deleted file mode 100644
index b4360491..00000000
--- a/test/lib/completions/unpack200.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "unpack200 "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/unrar.exp b/test/lib/completions/unrar.exp
deleted file mode 100644
index b5e27b21..00000000
--- a/test/lib/completions/unrar.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "unrar -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/unset.exp b/test/lib/completions/unset.exp
deleted file mode 100644
index 42e753cb..00000000
--- a/test/lib/completions/unset.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "unset BASH_ARG"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/unshunt.exp b/test/lib/completions/unshunt.exp
deleted file mode 100644
index cac4ce65..00000000
--- a/test/lib/completions/unshunt.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "unshunt --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/update-alternatives.exp b/test/lib/completions/update-alternatives.exp
deleted file mode 100644
index b94d88c5..00000000
--- a/test/lib/completions/update-alternatives.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "update-alternatives --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/update-rc.d.exp b/test/lib/completions/update-rc.d.exp
deleted file mode 100644
index f2eafea5..00000000
--- a/test/lib/completions/update-rc.d.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "update-rc.d -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/upgradepkg.exp b/test/lib/completions/upgradepkg.exp
index 4783aec3..ffb4ba28 100644
--- a/test/lib/completions/upgradepkg.exp
+++ b/test/lib/completions/upgradepkg.exp
@@ -11,31 +11,6 @@ proc teardown {} {
setup
-assert_complete_any "upgradepkg -"
-
-
-sync_after_int
-
-
-set test "--<TAB> should complete all long options"
-set options [list --dry-run --install-new --reinstall --verbose]
-assert_complete $options "upgradepkg --" $test
-
-
-sync_after_int
-
-
-set test "should complete *.t\[gbxl\]z files and dirs"
-set dir $::srcdir/fixtures/slackware/home
-set files [split [exec bash -c "cd $dir && find . -mindepth 1 -maxdepth 1 \
- \\( -type d -printf '%P/\\n' \\) -o \
- \\( -type f -name '*.t\[bglx\]z' -printf '%P\\n' \\)"] "\n"]
-assert_complete_dir $files "upgradepkg " $dir $test
-
-
-sync_after_int
-
-
set test "should complete *.t\[gbxl\]z files and dirs after % sign"
set oldpkg "xx-2.0-i486-2"
set dir $::srcdir/fixtures/slackware/home
diff --git a/test/lib/completions/urlsnarf.exp b/test/lib/completions/urlsnarf.exp
deleted file mode 100644
index ed543629..00000000
--- a/test/lib/completions/urlsnarf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "urlsnarf -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/uscan.exp b/test/lib/completions/uscan.exp
deleted file mode 100644
index f96ee971..00000000
--- a/test/lib/completions/uscan.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "uscan -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/useradd.exp b/test/lib/completions/useradd.exp
deleted file mode 100644
index c4f4957e..00000000
--- a/test/lib/completions/useradd.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_no_complete "useradd "
-sync_after_int
-
-assert_complete_any "useradd -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/userdel.exp b/test/lib/completions/userdel.exp
deleted file mode 100644
index 2a46246c..00000000
--- a/test/lib/completions/userdel.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-# "r": root
-assert_complete_any "userdel r"
-sync_after_int
-
-assert_complete_any "userdel -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/usermod.exp b/test/lib/completions/usermod.exp
deleted file mode 100644
index d7daf992..00000000
--- a/test/lib/completions/usermod.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "usermod "
-sync_after_int
-
-assert_complete_any "usermod -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/valgrind.exp b/test/lib/completions/valgrind.exp
deleted file mode 100644
index 6e3702b6..00000000
--- a/test/lib/completions/valgrind.exp
+++ /dev/null
@@ -1,50 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-# b: assuming we have at least bash that starts with b in $PATH
-assert_complete_any "valgrind b"
-
-
-sync_after_int
-
-
-assert_complete_any "valgrind -"
-
-
-sync_after_int
-
-
-set test "--tool=memche<TAB> should complete \"memcheck\""
-assert_complete "--tool=memcheck" "valgrind --tool=memche" $test
-
-
-sync_after_int
-
-
-set test "--tool=helgrind --history-l<TAB> should complete \"--history-level=\""
-assert_complete "--history-level=" "valgrind --tool=helgrind --history-l" $test -nospace
-
-
-sync_after_int
-
-
-set test "it should be possible to complete file paths"
-set dir $::srcdir/fixtures/shared
-set files [split [exec bash -c "cd $dir/bin && ls -p"] "\n"]
-assert_complete_dir $files "valgrind --log-file=v\\ 0.log ./bin/" $dir $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vdir.exp b/test/lib/completions/vdir.exp
deleted file mode 100644
index c0e5ee43..00000000
--- a/test/lib/completions/vdir.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "vdir "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgcfgbackup.exp b/test/lib/completions/vgcfgbackup.exp
deleted file mode 100644
index 14162ee0..00000000
--- a/test/lib/completions/vgcfgbackup.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgcfgbackup --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgcfgbackup -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgcfgrestore.exp b/test/lib/completions/vgcfgrestore.exp
deleted file mode 100644
index 2cf5f1ca..00000000
--- a/test/lib/completions/vgcfgrestore.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgcfgrestore --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgcfgrestore -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgchange.exp b/test/lib/completions/vgchange.exp
deleted file mode 100644
index b6c0e1df..00000000
--- a/test/lib/completions/vgchange.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "vgchange -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgck.exp b/test/lib/completions/vgck.exp
deleted file mode 100644
index b2c86da8..00000000
--- a/test/lib/completions/vgck.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgck --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgck -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgconvert.exp b/test/lib/completions/vgconvert.exp
deleted file mode 100644
index f432229e..00000000
--- a/test/lib/completions/vgconvert.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgconvert --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgconvert -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgcreate.exp b/test/lib/completions/vgcreate.exp
deleted file mode 100644
index 6f3b3e37..00000000
--- a/test/lib/completions/vgcreate.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "vgcreate -"
-sync_after_int
-
-
-assert_no_complete "vgcreate __does_not_exist__"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgdisplay.exp b/test/lib/completions/vgdisplay.exp
deleted file mode 100644
index 5fd20596..00000000
--- a/test/lib/completions/vgdisplay.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgdisplay --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgdisplay -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgexport.exp b/test/lib/completions/vgexport.exp
deleted file mode 100644
index e6e45d00..00000000
--- a/test/lib/completions/vgexport.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgexport --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgexport -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgextend.exp b/test/lib/completions/vgextend.exp
deleted file mode 100644
index 18dc2016..00000000
--- a/test/lib/completions/vgextend.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgextend --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgextend -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgimport.exp b/test/lib/completions/vgimport.exp
deleted file mode 100644
index f4c1f833..00000000
--- a/test/lib/completions/vgimport.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgimport --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgimport -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgmerge.exp b/test/lib/completions/vgmerge.exp
deleted file mode 100644
index a8366848..00000000
--- a/test/lib/completions/vgmerge.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgmerge --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgmerge -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgmknodes.exp b/test/lib/completions/vgmknodes.exp
deleted file mode 100644
index b8c3d57f..00000000
--- a/test/lib/completions/vgmknodes.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgmknodes --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgmknodes -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgreduce.exp b/test/lib/completions/vgreduce.exp
deleted file mode 100644
index fc349680..00000000
--- a/test/lib/completions/vgreduce.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgreduce --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgreduce -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgremove.exp b/test/lib/completions/vgremove.exp
deleted file mode 100644
index 0ec1011f..00000000
--- a/test/lib/completions/vgremove.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgremove --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgremove -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgrename.exp b/test/lib/completions/vgrename.exp
deleted file mode 100644
index 62e7d3e6..00000000
--- a/test/lib/completions/vgrename.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgrename --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgrename -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgs.exp b/test/lib/completions/vgs.exp
deleted file mode 100644
index 8a6cf650..00000000
--- a/test/lib/completions/vgs.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgs --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgs -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgscan.exp b/test/lib/completions/vgscan.exp
deleted file mode 100644
index a26838fc..00000000
--- a/test/lib/completions/vgscan.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {vgscan --help} "" "" "untested"]} { # may fail as non-root
- assert_complete_any "vgscan -"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vgsplit.exp b/test/lib/completions/vgsplit.exp
deleted file mode 100644
index b183cfda..00000000
--- a/test/lib/completions/vgsplit.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "vgsplit -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vi.exp b/test/lib/completions/vi.exp
deleted file mode 100644
index db3e3deb..00000000
--- a/test/lib/completions/vi.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "vi "
-sync_after_int
-
-
-assert_complete {libfoo.conf foo.txt} "vi $::srcdir/fixtures/shared/ld.so.conf.d/"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vipw.exp b/test/lib/completions/vipw.exp
deleted file mode 100644
index c29ad9b1..00000000
--- a/test/lib/completions/vipw.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "vipw -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vmstat.exp b/test/lib/completions/vmstat.exp
deleted file mode 100644
index f749322a..00000000
--- a/test/lib/completions/vmstat.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-assert_complete_any "vmstat -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vncviewer.exp b/test/lib/completions/vncviewer.exp
deleted file mode 100644
index 8c51e0b2..00000000
--- a/test/lib/completions/vncviewer.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {
- /declare -f _vncviewer_bootstrap/d
- }
-}
-
-
-setup
-
-
-assert_complete_any "vncviewer "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/vpnc.exp b/test/lib/completions/vpnc.exp
deleted file mode 100644
index 451d8093..00000000
--- a/test/lib/completions/vpnc.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "vpnc -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/watch.exp b/test/lib/completions/watch.exp
deleted file mode 100644
index 02ae8f1b..00000000
--- a/test/lib/completions/watch.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "watch -"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wc.exp b/test/lib/completions/wc.exp
deleted file mode 100644
index b261b6a7..00000000
--- a/test/lib/completions/wc.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {wc --help} "" "" "unsupported"]} {
- assert_complete_any "wc --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/webmitm.exp b/test/lib/completions/webmitm.exp
deleted file mode 100644
index adb97cc2..00000000
--- a/test/lib/completions/webmitm.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "webmitm -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wget.exp b/test/lib/completions/wget.exp
deleted file mode 100644
index 457ae2ce..00000000
--- a/test/lib/completions/wget.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "wget --"
-
-
-sync_after_int
-
-
-assert_no_complete "wget "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/who.exp b/test/lib/completions/who.exp
deleted file mode 100644
index 6cca6795..00000000
--- a/test/lib/completions/who.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-if {[assert_exec {who --help} "" "" "unsupported"]} {
- assert_complete_any "who --"
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wine.exp b/test/lib/completions/wine.exp
deleted file mode 100644
index 2cc60c48..00000000
--- a/test/lib/completions/wine.exp
+++ /dev/null
@@ -1,31 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-set test "should complete *.exe, *.com files and dirs"
-set dir $::srcdir/fixtures/shared/default
-assert_complete_dir {"bar bar.d/" foo.d/} "wine " $dir $test
-
-
-sync_after_int
-
-
-set test "should complete any files and dirs after executable"
-set dir $::srcdir/fixtures/shared/default
-set files {bar "bar bar.d/" foo foo.d/}
-assert_complete_dir $files "wine notepad " $dir $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/withlist.exp b/test/lib/completions/withlist.exp
deleted file mode 100644
index e1f91f6a..00000000
--- a/test/lib/completions/withlist.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "withlist --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wodim.exp b/test/lib/completions/wodim.exp
deleted file mode 100644
index 55f63c30..00000000
--- a/test/lib/completions/wodim.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "wodim "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wol.exp b/test/lib/completions/wol.exp
deleted file mode 100644
index a4ac9e4e..00000000
--- a/test/lib/completions/wol.exp
+++ /dev/null
@@ -1,29 +0,0 @@
-proc setup {} {
- # See fixtures/shared/bin/{arp,ifconfig}
- assert_bash_exec {OLDPATH="$PATH"; PATH="$SRCDIR/fixtures/shared/bin:$PATH";}
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
- assert_bash_exec {PATH="$OLDPATH"; unset -v OLDPATH}
-}
-
-
-setup
-
-
-assert_complete "00:00:00:00:00:00 11:11:11:11:11:11 22:22:22:22:22:22 33:33:33:33:33:33" "wol "
-
-
-sync_after_int
-
-
-assert_complete "00:00:00:00:00:00" "wol 00:"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/write.exp b/test/lib/completions/write.exp
deleted file mode 100644
index 4503f6cc..00000000
--- a/test/lib/completions/write.exp
+++ /dev/null
@@ -1,19 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-# "r": root
-assert_complete_any "write r"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wsimport.exp b/test/lib/completions/wsimport.exp
deleted file mode 100644
index 36bf35c1..00000000
--- a/test/lib/completions/wsimport.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "wsimport "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wtf.exp b/test/lib/completions/wtf.exp
deleted file mode 100644
index 0080967c..00000000
--- a/test/lib/completions/wtf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "wtf A"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/wvdial.exp b/test/lib/completions/wvdial.exp
deleted file mode 100644
index 5b52daa8..00000000
--- a/test/lib/completions/wvdial.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "wvdial -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xdg-mime.exp b/test/lib/completions/xdg-mime.exp
deleted file mode 100644
index 015c586e..00000000
--- a/test/lib/completions/xdg-mime.exp
+++ /dev/null
@@ -1,39 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xdg-mime "
-sync_after_int
-
-assert_complete_any "xdg-mime -"
-sync_after_int
-
-assert_complete_any "xdg-mime query "
-sync_after_int
-
-assert_complete_any "xdg-mime query filetype "
-sync_after_int
-
-assert_complete_any "xdg-mime query default "
-sync_after_int
-
-assert_complete_any "xdg-mime default foo.desktop "
-sync_after_int
-
-assert_complete_any "xdg-mime install --mode "
-sync_after_int
-
-assert_complete_any "xdg-mime uninstall "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xdg-settings.exp b/test/lib/completions/xdg-settings.exp
deleted file mode 100644
index 99a5838d..00000000
--- a/test/lib/completions/xdg-settings.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xdg-settings "
-sync_after_int
-
-assert_complete_any "xdg-settings --"
-sync_after_int
-
-assert_complete_any "xdg-settings get "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xfreerdp.exp b/test/lib/completions/xfreerdp.exp
deleted file mode 100644
index f61cfcad..00000000
--- a/test/lib/completions/xfreerdp.exp
+++ /dev/null
@@ -1,28 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set test "Tab should complete options"
-set cmd "xfreerdp --"
-send "$cmd\t"
-set expected "^$cmd\r\n--data.*--kbd-list.*--plugin\r\n/@$cmd$"
-expect {
- -re $expected { pass "$test" }
- -re /@ { unresolved "$test at prompt" }
- default { unresolved "$test" }
-}
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xgamma.exp b/test/lib/completions/xgamma.exp
deleted file mode 100644
index c4c2228e..00000000
--- a/test/lib/completions/xgamma.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set test "-gam<TAB> should complete \"-gamma\""
-assert_complete "-gamma" "xgamma -gam" $test
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xm.exp b/test/lib/completions/xm.exp
deleted file mode 100644
index 5a0c58e0..00000000
--- a/test/lib/completions/xm.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xm "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xmllint.exp b/test/lib/completions/xmllint.exp
deleted file mode 100644
index 20daab6d..00000000
--- a/test/lib/completions/xmllint.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xmllint "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xmlwf.exp b/test/lib/completions/xmlwf.exp
deleted file mode 100644
index 6c306f34..00000000
--- a/test/lib/completions/xmlwf.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xmlwf "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xmms.exp b/test/lib/completions/xmms.exp
deleted file mode 100644
index 1f1f6d57..00000000
--- a/test/lib/completions/xmms.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xmms --"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xmodmap.exp b/test/lib/completions/xmodmap.exp
deleted file mode 100644
index 2bf4da1c..00000000
--- a/test/lib/completions/xmodmap.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xmodmap "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xpovray.exp b/test/lib/completions/xpovray.exp
deleted file mode 100644
index 53a5fcd0..00000000
--- a/test/lib/completions/xpovray.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xpovray "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xrandr.exp b/test/lib/completions/xrandr.exp
deleted file mode 100644
index e76a5665..00000000
--- a/test/lib/completions/xrandr.exp
+++ /dev/null
@@ -1,21 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xrandr "
-sync_after_int
-
-assert_no_complete "xrandr --mode "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xrdb.exp b/test/lib/completions/xrdb.exp
deleted file mode 100644
index f02625dc..00000000
--- a/test/lib/completions/xrdb.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xrdb "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xsltproc.exp b/test/lib/completions/xsltproc.exp
deleted file mode 100644
index 2c558ff1..00000000
--- a/test/lib/completions/xsltproc.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xsltproc "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xvnc4viewer.exp b/test/lib/completions/xvnc4viewer.exp
deleted file mode 100644
index 6432ed25..00000000
--- a/test/lib/completions/xvnc4viewer.exp
+++ /dev/null
@@ -1,45 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-set test "Tab should complete options"
-set options {
- -AcceptClipboard -AutoSelect -DebugDelay -display
- -DotWhenNoCursor -FullColor -FullColour -FullScreen
- -geometry -help -listen -Log
- -LowColourLevel -MenuKey -name -Parent
- -passwd -PasswordFile -PointerEventInterval -PreferredEncoding
- -SendClipboard -SendPrimary -Shared -UseLocalCursor
- -via -ViewOnly -WMDecorationHeight -WMDecorationWidth
- -ZlibLevel
-}
-assert_complete $options {vncviewer -} $test
-
-
-sync_after_int
-
-
-set expected {hextile raw zrle}
-assert_complete $expected "xvnc4viewer -PreferredEncoding "
-
-
-sync_after_int
-
-
-set expected {hextile raw zrle}
-assert_complete $expected "xvnc4viewer --preferredencoding "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xxd.exp b/test/lib/completions/xxd.exp
deleted file mode 100644
index 6f12c0c0..00000000
--- a/test/lib/completions/xxd.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xxd "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xz.exp b/test/lib/completions/xz.exp
deleted file mode 100644
index ba9ccd3a..00000000
--- a/test/lib/completions/xz.exp
+++ /dev/null
@@ -1,37 +0,0 @@
-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
-
-
-assert_complete_homedir "xz"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/xzdec.exp b/test/lib/completions/xzdec.exp
deleted file mode 100644
index 578cba7d..00000000
--- a/test/lib/completions/xzdec.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "xzdec "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ypcat.exp b/test/lib/completions/ypcat.exp
deleted file mode 100644
index a8249dc2..00000000
--- a/test/lib/completions/ypcat.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ypcat "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/ypmatch.exp b/test/lib/completions/ypmatch.exp
deleted file mode 100644
index ac264c18..00000000
--- a/test/lib/completions/ypmatch.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "ypmatch foo "
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/yum-arch.exp b/test/lib/completions/yum-arch.exp
deleted file mode 100644
index 85c47c22..00000000
--- a/test/lib/completions/yum-arch.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "yum-arch -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/yum.exp b/test/lib/completions/yum.exp
deleted file mode 100644
index 899ecddb..00000000
--- a/test/lib/completions/yum.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "yum -"
-
-
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/zopfli.exp b/test/lib/completions/zopfli.exp
deleted file mode 100644
index 8e17e92b..00000000
--- a/test/lib/completions/zopfli.exp
+++ /dev/null
@@ -1,22 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "zopfli "
-sync_after_int
-
-
-assert_complete_homedir "zopfli"
-sync_after_int
-
-
-teardown
diff --git a/test/lib/completions/zopflipng.exp b/test/lib/completions/zopflipng.exp
deleted file mode 100644
index 9c421a14..00000000
--- a/test/lib/completions/zopflipng.exp
+++ /dev/null
@@ -1,18 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified
-}
-
-
-setup
-
-
-assert_complete_any "zopflipng "
-sync_after_int
-
-
-teardown
diff --git a/test/lib/library.exp b/test/lib/library.exp
index 9321c5ca..899d74b6 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -51,7 +51,7 @@ proc assert_bash_exec {{aCmd ""} {title ""} {prompt /@} {out -1}} {
# @param string $command Command to locate
proc assert_bash_type {command} {
set test "$command should be available in bash"
- set cmd "type $command &> /dev/null && echo -n 0 || echo -n 1"
+ set cmd "type $command &>/dev/null && echo -n 0 || echo -n 1"
send "$cmd\r"
expect "$cmd\r\n"
expect {
@@ -508,39 +508,6 @@ proc assert_env_unmodified {{sed ""} {file ""} {diff ""}} {
}
-# Make sure the specified command executed from within Tcl/Expect.
-# Fail the test with status UNSUPPORTED if Tcl fails with error "POSIX/ENOENT
-# (No such file or directory)", or with the given Tcl failure status command
-# (default "unresolved") if other error occurs.
-# NOTE: Further tests are assumed if executing the command is successful. The
-# test isn't immediately declared to have PASSED if the command is
-# executed successful.
-# @param string $command
-# @param string $stdout (optional) Reference to variable to hold stdout.
-# @param string $test (optional) Test title
-# @param string $failcmd (optional, default "unresolved") Failure command
-# @see assert_bash_exec()
-proc assert_exec {cmd {stdout ''} {test ''} {failcmd "unresolved"}} {
- if {$test == ""} {set test "$cmd should execute successfully"}
- upvar $stdout results
- set status [catch {eval exec $cmd} results]
- if {$status == 0} {
- set result true
- } else {
- set result false
- # Command not found (POSIX/ENOENT = no such file or directory)?
- if {[lindex $::errorCode 0] == "POSIX" && [lindex $::errorCode 1] == "ENOENT"} {
- # Yes, command not found;
- # Indicate test is unsupported
- unsupported "$test"
- } else {
- $failcmd "$test"
- }
- }
- return $result
-}
-
-
# Check that no completion is attempted on a certain command.
# Params:
# @cmd The command to attempt to complete.
@@ -584,24 +551,6 @@ proc assert_no_output {{cmd} {test ""} {prompt /@}} {
}
-# Check that ~part completes to ~full/ if home dir exists.
-# @param string $cmd The command to attempt home dir completion for.
-# @param string $test Optional parameter with test name.
-# @param string $prompt (optional) Bash prompt. Default is "/@"
-proc assert_complete_homedir {{cmd} {test ""} {prompt /@}} {
- if {[string length $test] == 0} {
- set test "$cmd should complete ~part to ~full/ if home dir exists"
- }
- assert_bash_exec {for u in $(compgen -u); do \
- eval test -d ~$u && echo $u; unset u; done} {} /@ users
- if {![find_unique_completion_pair $users part full]} {
- untested "Not running, no suitable test user found: $test"
- } else {
- assert_complete "~$full/" "$cmd ~$part" $test -nospace
- }
-}
-
-
# Source/run file with additional tests if completion for the specified command
# is installed in bash, and the command is available.
# @param string $command Command to check completion availability for.
@@ -680,26 +629,6 @@ proc get_hosts_avahi {} {
}
-# Get signals
-# This function is written in analogy to the bash function `_signals()' in
-# `bash_completion'.
-# @param prefix
-# @return list Signals starting with `SIG', but with the `SIG' prefix removed.
-proc get_signals {{prefix ""}} {
- set signals {}
- foreach signal [exec bash -c {compgen -A signal}] {
- # Does signal start with `SIG'?
- if {[string range $signal 0 [expr [string length "SIG"] - 1]] == "SIG"} {
- # Remove `SIG' prefix
- set signal [string range $signal 3 end]
- # Add signal (with dash (-) prefix) to list
- lappend signals $prefix$signal
- }
- }
- return $signals
-}
-
-
# Initialize tcl globals with bash variables
proc init_tcl_bash_globals {} {
global BASH_VERSINFO BASH_VERSION COMP_WORDBREAKS LC_CTYPE
@@ -717,7 +646,7 @@ proc init_tcl_bash_globals {} {
# @return boolean True (1) if completion is installed, False (0) if not.
proc assert_install_completion_for {command} {
set test "$command should have completion installed in bash"
- set cmd "__load_completion $command ; complete -p $command &> /dev/null && echo -n 0 || echo -n 1"
+ set cmd "__load_completion $command ; complete -p $command &>/dev/null && echo -n 0 || echo -n 1"
send "$cmd\r"
expect "$cmd\r\n"
expect {
@@ -811,27 +740,6 @@ proc match_items {items {args {}}} {
}
-
-# Get real command.
-# - arg: $1 Command
-# - return: Command found, empty string if not found
-proc realcommand {cmd} {
- set result ""
- if [string length [set path [auto_execok $cmd]]] {
- if {[string length [auto_execok realpath]]} {
- set result [exec realpath $path]
- } elseif {[string length [auto_execok greadlink]]} {
- set result [exec greadlink -f $path]
- } elseif {[string length [auto_execok readlink]]} {
- set result [exec readlink -f $path]
- } else {
- set result $path
- }
- }
- return $result
-}
-
-
# Generate filename to save environment to.
# @param string $file File-basename to save environment to. If the file has a
# `.exp' suffix, it is removed. E.g.:
@@ -1043,10 +951,11 @@ proc start_interactive_test {} {
init_bash_xtrace
}
global OPT_BUFFER_SIZE
- if {[info exists OPT_BUFFER_SIZE]} {
- verbose "Changing default expect match buffer size to $OPT_BUFFER_SIZE"
- match_max $OPT_BUFFER_SIZE
+ if {![info exists OPT_BUFFER_SIZE]} {
+ set OPT_BUFFER_SIZE 20000
}
+ verbose "Changing default expect match buffer size to $OPT_BUFFER_SIZE"
+ match_max $OPT_BUFFER_SIZE
global OPT_TIMEOUT
if {[info exists OPT_TIMEOUT]} {
global timeout
diff --git a/test/lib/library.sh b/test/lib/library.sh
index 0a671595..ed5a85d4 100644
--- a/test/lib/library.sh
+++ b/test/lib/library.sh
@@ -2,7 +2,6 @@
# @param $1 Char to add to $COMP_WORDBREAKS
-# @see remove_comp_wordbreak_char()
add_comp_wordbreak_char() {
[[ "${COMP_WORDBREAKS//[^$1]}" ]] || COMP_WORDBREAKS+=$1
} # add_comp_wordbreak_char()
@@ -37,30 +36,3 @@ echo_array() {
local name=$1[@]
printf "%s\n" "${!name}" | sort
} # echo_array()
-
-
-# Check if current bash version meets specified minimum
-# @param $1 (integer) Major version number
-# @param $2 (integer) Minor version number
-# @param $3 (integer) Patch level
-# @return 0 if success, > 0 if not
-is_bash_version_minimal() {
- [[ (
- ${BASH_VERSINFO[0]} -gt $1
- ) || (
- ${BASH_VERSINFO[0]} -eq $1 &&
- ${BASH_VERSINFO[1]} -gt $2
- ) || (
- ${BASH_VERSINFO[0]} -eq $1 &&
- ${BASH_VERSINFO[1]} -eq $2 &&
- ${BASH_VERSINFO[2]} -ge $3
- )
- ]]
-} # is_bash_version_minimal()
-
-
-# @param $1 Char to remove from $COMP_WORDBREAKS
-# @see add_comp_wordbreak_char()
-remove_comp_wordbreak_char() {
- COMP_WORDBREAKS=${COMP_WORDBREAKS//$1}
-} # remove_comp_wordbreak_char()