├── .dir-locals.el ├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── release-please-config.json ├── release-please-manifest.json ├── renovate.json ├── requirements.txt └── workflows │ ├── ci.yaml │ └── update-docker-images.yml ├── .gitignore ├── .gitlint ├── .perltidyrc ├── .pre-commit-config.yaml ├── .pymarkdown.json ├── .shellcheckrc ├── .typos.toml ├── AUTHORS ├── CHANGELOG.md ├── CONTRIBUTING.md ├── COPYING ├── Makefile.am ├── README.md ├── bash-completion-config-version.cmake.in ├── bash-completion-config.cmake.in ├── bash-completion.pc.in ├── bash_completion ├── bash_completion.d └── 000_bash_completion_compat.bash ├── bash_completion.sh.in ├── completions ├── .gitignore ├── 2to3 ├── 7z ├── Makefile.am ├── _adb ├── _argc ├── _cal ├── _cargo ├── _chfn ├── _chsh ├── _coder ├── _delta ├── _dmesg ├── _eject ├── _flamegraph ├── _gaiacli ├── _gh ├── _golangci-lint ├── _gsctl ├── _hexdump ├── _hwclock ├── _insmod ├── _ionice ├── _jj ├── _jungle ├── _keyring ├── _kontena ├── _look ├── _mdbook ├── _mock ├── _modinfo ├── _modprobe ├── _modules ├── _mount ├── _mount.linux ├── _mtr ├── _newgrp ├── _nmcli ├── _nox ├── _nvm ├── _pip ├── _pipenv ├── _renice ├── _repomanage ├── _reptyr ├── _rfkill ├── _rg ├── _rmmod ├── _rtcwake ├── _ruff ├── _runuser ├── _rustup ├── _secret-tool ├── _shtab ├── _slackpkg ├── _sops ├── _stern ├── _stripe ├── _su ├── _svn ├── _svnadmin ├── _svnlook ├── _task ├── _tokio-console ├── _udevadm ├── _umount ├── _umount.linux ├── _uvx ├── _vault ├── _wasmer ├── _write ├── _xm ├── _yq ├── _yum ├── a2x ├── abook ├── aclocal ├── acpi ├── add_members ├── alias ├── ant ├── apache2ctl ├── appdata-validate ├── apt-build ├── apt-cache ├── apt-get ├── apt-mark ├── aptitude ├── arch ├── arp ├── arping ├── arpspoof ├── asciidoc ├── aspell ├── autoconf ├── automake ├── autoreconf ├── autorpm ├── autoscan ├── avahi-browse ├── avctrl ├── badblocks ├── bind ├── bk ├── brctl ├── btdownloadheadless.py ├── bts ├── bzip2 ├── cancel ├── cardctl ├── carton ├── ccache ├── ccze ├── cd ├── cfagent ├── cfrun ├── chage ├── change_pw ├── check_db ├── check_perms ├── checksec ├── chflags ├── chgrp ├── chkconfig ├── chmod ├── chown ├── chpasswd ├── chromium-browser ├── chronyc ├── chrpath ├── cksfv ├── cleanarch ├── clisp ├── clone_member ├── complete ├── config_list ├── configure ├── convert ├── cowsay ├── cpan2dist ├── cpio ├── cppcheck ├── crontab ├── cryptsetup ├── curl ├── cvs ├── cvsps ├── dd ├── declare ├── deja-dup ├── desktop-file-validate ├── dhclient ├── dict ├── dmypy ├── dnssec-keygen ├── dnsspoof ├── dot ├── dpkg ├── dpkg-source ├── dselect ├── dsniff ├── dumpdb ├── dumpe2fs ├── e2freefrag ├── e2label ├── ebtables ├── ecryptfs-migrate-home ├── env ├── eog ├── ether-wake ├── evince ├── explodepkg ├── export ├── faillog ├── fbgs ├── fbi ├── feh ├── file ├── file-roller ├── filefrag ├── filesnarf ├── find ├── find_member ├── fio ├── firefox ├── flake8 ├── fprintd-delete ├── fprintd-enroll ├── free ├── freebsd-update ├── freeciv ├── freeciv-server ├── function ├── fusermount ├── gcc ├── gcl ├── gdb ├── genaliases ├── gendiff ├── genisoimage ├── geoiplookup ├── getconf ├── getent ├── gkrellm ├── gm ├── gnatmake ├── gnokii ├── gnome-mplayer ├── gnome-screenshot ├── gpasswd ├── gpg ├── gpg2 ├── gpgv ├── gphoto2 ├── gprof ├── groupadd ├── groupdel ├── groupmems ├── groupmod ├── growisofs ├── grpck ├── gssdp-discover ├── gzip ├── hash ├── hcitool ├── hddtemp ├── help ├── hid2hci ├── hostname ├── hping2 ├── htop ├── htpasswd ├── hunspell ├── iconv ├── id ├── idn ├── ifstat ├── iftop ├── ifup ├── influx ├── info ├── inject ├── inotifywait ├── installpkg ├── interdiff ├── invoke-rc.d ├── ip ├── ipcalc ├── iperf ├── ipmitool ├── ipsec ├── iptables ├── ipv6calc ├── iscsiadm ├── isort ├── isql ├── iwconfig ├── iwlist ├── iwpriv ├── iwspy ├── jar ├── jarsigner ├── java ├── javaws ├── jpegoptim ├── jps ├── jq ├── jshint ├── json_xs ├── jsonschema ├── k3b ├── kcov ├── kill ├── killall ├── kldload ├── kldunload ├── koji ├── ktutil ├── larch ├── lastlog ├── ldapsearch ├── ldapvi ├── lftp ├── lftpget ├── lilo ├── links ├── lintian ├── lisp ├── list_admins ├── list_lists ├── list_members ├── list_owners ├── locale-gen ├── lpq ├── lpr ├── lrzip ├── lsof ├── lspci ├── lsscsi ├── lsusb ├── lua ├── luac ├── luseradd ├── luserdel ├── lvm ├── lz4 ├── lzip ├── lzma ├── lzop ├── macof ├── mailmanctl ├── make ├── makepkg ├── man ├── mc ├── mcrypt ├── mdadm ├── mdtool ├── medusa ├── mfiutil ├── mii-diag ├── mii-tool ├── minicom ├── mkinitrd ├── mktemp ├── mmsitepass ├── monodevelop ├── mplayer ├── mr ├── msynctool ├── mtx ├── munin-node-configure ├── munin-run ├── munin-update ├── munindoc ├── mussh ├── mutt ├── mypy ├── mysql ├── mysqladmin ├── nc ├── ncftp ├── nethogs ├── newlist ├── newusers ├── ngrep ├── nload ├── nmap ├── nproc ├── nslookup ├── nsupdate ├── ntpdate ├── oggdec ├── openssl ├── opera ├── optipng ├── p4 ├── pack200 ├── passwd ├── patch ├── pdftoppm ├── pdftotext ├── perl ├── perlcritic ├── perltidy ├── pgrep ├── pidof ├── pine ├── ping ├── pkg-config ├── pkg-get ├── pkg_delete ├── pkgadd ├── pkgrm ├── pkgtool ├── pkgutil ├── plague-client ├── pm-hibernate ├── pm-is-supported ├── pm-powersave ├── pngfix ├── portinstall ├── portsnap ├── portupgrade ├── postcat ├── postconf ├── postfix ├── postmap ├── postsuper ├── povray ├── prelink ├── printenv ├── protoc ├── ps ├── psql ├── puppet ├── pv ├── pwck ├── pwd ├── pwdx ├── pwgen ├── pycodestyle ├── pydoc ├── pydocstyle ├── pyflakes ├── pylint ├── pytest ├── python ├── pyvenv ├── qdbus ├── qemu ├── qrunner ├── querybts ├── quota ├── radvdump ├── rcs ├── rdesktop ├── remove_members ├── removepkg ├── reportbug ├── resolvconf ├── ri ├── rmlist ├── route ├── rpcdebug ├── rpm ├── rpm2tgz ├── rpmcheck ├── rrdtool ├── rsync ├── sbcl ├── sbopkg ├── screen ├── scrub ├── set ├── sh ├── sha256sum ├── shellcheck ├── sitecopy ├── slabtop ├── slapt-get ├── slapt-src ├── smartctl ├── smbclient ├── snownews ├── sqlite3 ├── ss ├── ssh ├── ssh-add ├── ssh-copy-id ├── ssh-keygen ├── ssh-keyscan ├── sshfs ├── sshmitm ├── sshow ├── strace ├── strings ├── sudo ├── svcadm ├── svk ├── sync_members ├── synclient ├── sysbench ├── sysctl ├── tar ├── tcpdump ├── tcpkill ├── tcpnice ├── timeout ├── tipc ├── tmux ├── tox ├── tracepath ├── tree ├── truncate ├── tshark ├── tsig-keygen ├── tune2fs ├── ulimit ├── unace ├── unpack200 ├── unrar ├── unshunt ├── update-alternatives ├── update-rc.d ├── upgradepkg ├── urlsnarf ├── uscan ├── useradd ├── userdel ├── usermod ├── valgrind ├── vipw ├── vmstat ├── vncviewer ├── vpnc ├── watch ├── webmitm ├── wget ├── wine ├── withlist ├── wodim ├── wol ├── wsimport ├── wtf ├── wvdial ├── xdg-mime ├── xdg-settings ├── xev ├── xfreerdp ├── xgamma ├── xhost ├── xmllint ├── xmlwf ├── xmms ├── xmodmap ├── xrandr ├── xrdb ├── xsltproc ├── xvfb-run ├── xxd ├── xz ├── xzdec ├── ypmatch ├── yum-arch ├── zopfli └── zopflipng ├── configure.ac ├── doc ├── Makefile.am ├── api-and-naming.md ├── configuration.md ├── styleguide.md └── testing.md ├── helpers ├── Makefile.am ├── make-extract-targets.awk ├── perl └── python ├── pyproject.toml ├── setup-symlinks.sh ├── test ├── .dockerignore ├── Makefile.am ├── config │ ├── bashrc │ └── inputrc ├── docker │ ├── alpine │ │ ├── Dockerfile │ │ └── install-packages.sh │ ├── centos7 │ │ ├── Dockerfile │ │ └── install-packages.sh │ ├── debian10 │ │ ├── Dockerfile │ │ └── install-packages.sh │ ├── entrypoint.sh │ ├── fedoradev │ │ ├── Dockerfile │ │ └── install-packages.sh │ └── ubuntu14 │ │ ├── Dockerfile │ │ └── install-packages.sh ├── fallback │ ├── Makefile.am │ ├── completions │ │ ├── Makefile.am │ │ ├── README.md │ │ ├── adb │ │ ├── argc │ │ ├── cal │ │ ├── cargo │ │ ├── chfn │ │ ├── chsh │ │ ├── coder │ │ ├── delta │ │ ├── dmesg │ │ ├── eject │ │ ├── flamegraph │ │ ├── gaiacli │ │ ├── gh │ │ ├── golangci-lint │ │ ├── gsctl │ │ ├── hexdump │ │ ├── hwclock │ │ ├── insmod │ │ ├── ionice │ │ ├── jj │ │ ├── jungle │ │ ├── keyring │ │ ├── kontena │ │ ├── look │ │ ├── mdbook │ │ ├── mock │ │ ├── modinfo │ │ ├── modprobe │ │ ├── modules │ │ ├── mount │ │ ├── mount.linux │ │ ├── mtr │ │ ├── newgrp │ │ ├── nmcli │ │ ├── nox │ │ ├── nvm │ │ ├── pip │ │ ├── pipenv │ │ ├── renice │ │ ├── repomanage │ │ ├── reptyr │ │ ├── rfkill │ │ ├── rg │ │ ├── rmmod │ │ ├── rtcwake │ │ ├── ruff │ │ ├── runuser │ │ ├── rustup │ │ ├── secret-tool │ │ ├── shtab │ │ ├── slackpkg │ │ ├── sops │ │ ├── stern │ │ ├── stripe │ │ ├── su │ │ ├── svn │ │ ├── svnadmin │ │ ├── svnlook │ │ ├── task │ │ ├── tokio-console │ │ ├── udevadm │ │ ├── umount │ │ ├── umount.linux │ │ ├── uvx │ │ ├── vault │ │ ├── wasmer │ │ ├── write │ │ ├── xm │ │ ├── yq │ │ └── yum │ └── update-fallback-links ├── fixtures │ ├── 7z │ │ ├── a.7z │ │ ├── f.txt │ │ ├── hello.7z.001 │ │ └── hello.7z.002 │ ├── _command_offset │ │ └── completer │ ├── _comp_compgen │ │ └── completions │ │ │ ├── compgen-cmd1 │ │ │ └── compgen-cmd2 │ ├── _comp_compgen_xinetd_services │ │ └── xinetd.d │ │ │ ├── arp │ │ │ └── ifconfig │ ├── _comp_load │ │ ├── prefix1 │ │ │ ├── bin │ │ │ │ ├── cmd1 │ │ │ │ └── sh │ │ │ ├── sbin │ │ │ │ └── cmd2 │ │ │ └── share │ │ │ │ └── bash-completion │ │ │ │ └── completions │ │ │ │ ├── cmd1 │ │ │ │ ├── cmd2 │ │ │ │ └── sh │ │ ├── userdir1 │ │ │ └── completions │ │ │ │ └── cmd1 │ │ └── userdir2 │ │ │ └── completions │ │ │ └── cmd2 │ ├── _comp_xfunc │ │ └── completions │ │ │ ├── xfunc-test1 │ │ │ └── xfunc-test2 │ ├── _filedir │ │ ├── .dotfile1 │ │ ├── .dotfile2 │ │ ├── a b │ │ │ └── i │ │ ├── a$b │ │ │ └── h │ │ ├── a&b │ │ │ └── f │ │ ├── a'b │ │ │ └── c │ │ ├── ab │ │ │ └── e │ │ ├── aé │ │ │ └── g │ │ ├── brackets │ │ │ ├── [x] │ │ │ └── x │ │ ├── dotdot │ │ │ ├── ..2016_02_01_15_04_05.123456 │ │ │ ├── ..data │ │ │ └── ..folder │ │ │ │ └── .nothing_here │ │ └── ext │ │ │ ├── ee.e1 │ │ │ ├── ff.e2 │ │ │ ├── foo │ │ │ └── .gitignore │ │ │ ├── gg.e1 │ │ │ ├── hh.e2 │ │ │ └── ii.E1 │ ├── _get_cword │ │ ├── sea │ │ ├── seb │ │ ├── sec │ │ └── ääää§ │ ├── _known_hosts │ │ ├── .ssh │ │ │ ├── config_asterisk_1 │ │ │ ├── config_asterisk_2 │ │ │ ├── config_question_mark │ │ │ └── config_relative_path │ │ ├── config │ │ ├── config_full_path │ │ ├── config_include │ │ ├── config_include_recursion │ │ ├── config_tilde │ │ ├── gee-filename-canary │ │ ├── known_hosts │ │ ├── known_hosts2 │ │ ├── known_hosts3 │ │ ├── known_hosts4 │ │ ├── localhost_config │ │ ├── localhost_hosts │ │ ├── spaced conf │ │ └── spaced known_hosts │ ├── _longopt │ │ ├── grep--help.txt │ │ └── various.txt │ ├── acroread │ │ ├── bar │ │ ├── foo.d │ │ │ └── .gitignore │ │ └── t.pdf │ ├── ant │ │ ├── .gitignore │ │ ├── build-with-import.xml │ │ ├── build.xml │ │ ├── imported-build.xml │ │ └── named-build.xml │ ├── apt-mark │ │ └── example.conf │ ├── bsdtar │ │ ├── test.pax │ │ ├── test.rar │ │ └── test.shar │ ├── compgen │ │ ├── a'b │ │ │ └── c │ │ ├── t1.txt │ │ ├── t2.txt │ │ └── t3.txt │ ├── cvs │ │ ├── .cvspass │ │ └── foo │ │ │ ├── CVS │ │ │ └── Entries │ │ │ ├── bar │ │ │ └── quux │ ├── dnssec-keygen │ │ └── dnssec-keygen │ ├── dot │ │ ├── test1.gv │ │ └── test2.dot │ ├── dpkg │ │ ├── bash-completion-test-nonsubject.txt │ │ └── bash-completion-test-subject.deb │ ├── gdb │ │ ├── core │ │ ├── core-NOT │ │ ├── core.12345 │ │ ├── core.weston.1000.deadbeef.5308.1555362132000000 │ │ └── corenot │ ├── htpasswd │ │ └── htpasswd │ ├── info │ │ └── bash-completion.info │ ├── isql │ │ └── odbc.ini │ ├── java │ │ ├── JEP330.java │ │ ├── a │ │ │ ├── b$c.class │ │ │ ├── b.class │ │ │ ├── c │ │ │ │ ├── README.txt │ │ │ │ └── d.class │ │ │ └── d.txt │ │ ├── bashcomp.jar │ │ ├── bashcomp.war │ │ └── no-complete.txt │ ├── lftp │ │ └── .lftp │ │ │ └── bookmarks │ ├── lilo │ │ └── lilo.conf │ ├── make │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── sample.c │ │ ├── sample.d │ │ ├── sample.h │ │ └── test2 │ │ │ └── Makefile │ ├── man │ │ ├── man │ │ │ └── quux.8 │ │ ├── man1 │ │ │ ├── bash-completion-testcase.1.bz2 │ │ │ └── foo.1 │ │ └── man3 │ │ │ └── bash-completion-zstd-testcase.3head.zst │ ├── mount │ │ ├── bin │ │ │ └── showmount │ │ └── test-fstab │ ├── mplayer │ │ └── .mplayer │ │ │ ├── config │ │ │ └── mencoder.conf │ ├── mutt │ │ ├── bar │ │ │ ├── .gitignore │ │ │ └── muttrc_b │ │ ├── foo │ │ │ ├── .gitignore │ │ │ └── muttrc_f │ │ └── muttrc │ ├── nmap │ │ └── nmap-h.txt │ ├── perl │ │ └── Devel │ │ │ └── BashCompletion.pm │ ├── perldoc │ │ ├── BashCompletionDoc.pod │ │ └── BashCompletionModule.pm │ ├── pkgtools │ │ ├── db │ │ │ ├── a-1.0,1 │ │ │ │ └── .gitignore │ │ │ └── b-c-d-2.0_2 │ │ │ │ └── .gitignore │ │ └── ports │ │ │ ├── .gitignore │ │ │ └── INDEX.dist │ ├── pytest │ │ └── test_async.py │ ├── python │ │ ├── bar.txt │ │ └── foo.py │ ├── ri │ │ ├── BashCompletion │ │ │ ├── cdesc-BashCompletion.ri │ │ │ └── cdesc-BashCompletion.yaml │ │ ├── bashcompletion.rb │ │ ├── cache.ri │ │ └── created.rid │ ├── scp │ │ ├── bin │ │ │ └── ssh │ │ ├── config │ │ ├── known_hosts │ │ └── spaced conf │ ├── sftp │ │ ├── config │ │ ├── known_hosts │ │ └── spaced conf │ ├── sha256sum │ │ ├── foo │ │ └── foo.sha256 │ ├── shared │ │ ├── .ssh │ │ │ └── known_hosts │ │ ├── bin │ │ │ ├── arp │ │ │ ├── ifconfig │ │ │ └── ip │ │ ├── default │ │ │ ├── bar │ │ │ ├── bar bar.d │ │ │ │ └── foo │ │ │ ├── foo │ │ │ └── foo.d │ │ │ │ └── foo │ │ ├── empty_dir │ │ │ └── .nothing_here │ │ └── ld.so.conf.d │ │ │ ├── foo.txt │ │ │ ├── libfoo.conf │ │ │ ├── libfoo.so │ │ │ └── libfoo.so.1 │ ├── shells │ │ └── etc │ │ │ └── shells │ ├── slackware │ │ ├── home │ │ │ ├── abc-4-i686-1.txz │ │ │ ├── opq-1.0-2.i386.rpm │ │ │ └── tcl.d │ │ │ │ └── tcl.tgz │ │ ├── usr │ │ │ └── src │ │ │ │ └── slapt-src │ │ │ │ └── slackbuilds_data │ │ └── var │ │ │ ├── log │ │ │ └── packages │ │ │ │ ├── radeontool-1.6.1-i486-1 │ │ │ │ └── rzip-2.1-i486-1 │ │ │ └── slapt-get │ │ │ └── package_data │ ├── ssh-copy-id │ │ └── .ssh │ │ │ ├── id_rsa │ │ │ └── id_rsa.pub │ ├── ssh │ │ ├── config │ │ ├── known_hosts │ │ └── spaced conf │ ├── tar │ │ ├── archive.tar.xz │ │ ├── dir │ │ │ ├── fileA │ │ │ ├── fileB │ │ │ ├── fileC │ │ │ └── hello │ │ ├── dir2 │ │ │ └── .nothing_here │ │ └── escape.tar │ ├── tox │ │ └── tox.ini │ ├── xrandr │ │ └── xrandr │ └── xz │ │ ├── a │ │ └── b │ │ ├── bashcomp.lzma │ │ ├── bashcomp.tar │ │ ├── bashcomp.tar.xz │ │ ├── bashcomp.tlz │ │ └── bashcomp.xz ├── generate ├── requirements-dev.txt ├── requirements.txt ├── runLint ├── setup.cfg ├── t │ ├── Makefile.am │ ├── conftest.py │ ├── test_2to3.py │ ├── test_7z.py │ ├── test_a2ps.py │ ├── test_a2x.py │ ├── test_abook.py │ ├── test_aclocal.py │ ├── test_acpi.py │ ├── test_acroread.py │ ├── test_adb.py │ ├── test_add_members.py │ ├── test_alias.py │ ├── test_alpine.py │ ├── test_animate.py │ ├── test_ant.py │ ├── test_apache2ctl.py │ ├── test_appdata_validate.py │ ├── test_apt_build.py │ ├── test_apt_cache.py │ ├── test_apt_get.py │ ├── test_apt_mark.py │ ├── test_aptitude.py │ ├── test_arch.py │ ├── test_arp.py │ ├── test_arping.py │ ├── test_arpspoof.py │ ├── test_asciidoc.py │ ├── test_aspell.py │ ├── test_autoconf.py │ ├── test_autoheader.py │ ├── test_automake.py │ ├── test_autoreconf.py │ ├── test_autorpm.py │ ├── test_autoscan.py │ ├── test_autossh.py │ ├── test_autoupdate.py │ ├── test_avahi_browse.py │ ├── test_avctrl.py │ ├── test_awk.py │ ├── test_b2sum.py │ ├── test_badblocks.py │ ├── test_base64.py │ ├── test_bash.py │ ├── test_bc.py │ ├── test_bind.py │ ├── test_bison.py │ ├── test_bk.py │ ├── test_bmake.py │ ├── test_brctl.py │ ├── test_bsdtar.py │ ├── test_btdownloadcurses_py.py │ ├── test_btdownloadgui_py.py │ ├── test_btdownloadheadless_py.py │ ├── test_bts.py │ ├── test_bzip2.py │ ├── test_cal.py │ ├── test_cancel.py │ ├── test_cardctl.py │ ├── test_carton.py │ ├── test_cat.py │ ├── test_cc.py │ ├── test_ccache.py │ ├── test_ccze.py │ ├── test_cd.py │ ├── test_cdrecord.py │ ├── test_cfagent.py │ ├── test_cfrun.py │ ├── test_chage.py │ ├── test_change_pw.py │ ├── test_check_db.py │ ├── test_check_perms.py │ ├── test_checksec.py │ ├── test_chflags.py │ ├── test_chfn.py │ ├── test_chgrp.py │ ├── test_chkconfig.py │ ├── test_chmod.py │ ├── test_chown.py │ ├── test_chpasswd.py │ ├── test_chromium_browser.py │ ├── test_chronyc.py │ ├── test_chroot.py │ ├── test_chrpath.py │ ├── test_chsh.py │ ├── test_ci.py │ ├── test_ciptool.py │ ├── test_civclient.py │ ├── test_civserver.py │ ├── test_cksfv.py │ ├── test_cleanarch.py │ ├── test_clisp.py │ ├── test_clone_member.py │ ├── test_co.py │ ├── test_colordiff.py │ ├── test_compare.py │ ├── test_compgen.py │ ├── test_complete.py │ ├── test_composite.py │ ├── test_config_list.py │ ├── test_configure.py │ ├── test_conjure.py │ ├── test_convert.py │ ├── test_cowsay.py │ ├── test_cp.py │ ├── test_cpan2dist.py │ ├── test_cpio.py │ ├── test_cplusplus.py │ ├── test_cppcheck.py │ ├── test_createdb.py │ ├── test_createuser.py │ ├── test_crontab.py │ ├── test_cryptsetup.py │ ├── test_csplit.py │ ├── test_curl.py │ ├── test_cut.py │ ├── test_cvs.py │ ├── test_cvsps.py │ ├── test_date.py │ ├── test_dcop.py │ ├── test_dd.py │ ├── test_declare.py │ ├── test_deja_dup.py │ ├── test_desktop_file_validate.py │ ├── test_df.py │ ├── test_dfutool.py │ ├── test_dhclient.py │ ├── test_dict.py │ ├── test_diff.py │ ├── test_dir.py │ ├── test_display.py │ ├── test_dmesg.py │ ├── test_dmypy.py │ ├── test_dnssec_keygen.py │ ├── test_dnsspoof.py │ ├── test_dot.py │ ├── test_dpkg.py │ ├── test_dpkg_deb.py │ ├── test_dpkg_query.py │ ├── test_dpkg_reconfigure.py │ ├── test_dpkg_source.py │ ├── test_dropdb.py │ ├── test_dropuser.py │ ├── test_dselect.py │ ├── test_dsniff.py │ ├── test_du.py │ ├── test_dumpdb.py │ ├── test_dumpe2fs.py │ ├── test_e2freefrag.py │ ├── test_e2label.py │ ├── test_ebtables.py │ ├── test_ecryptfs_migrate_home.py │ ├── test_eject.py │ ├── test_enscript.py │ ├── test_env.py │ ├── test_eog.py │ ├── test_ether_wake.py │ ├── test_etherwake.py │ ├── test_evince.py │ ├── test_expand.py │ ├── test_explodepkg.py │ ├── test_export.py │ ├── test_faillog.py │ ├── test_fbgs.py │ ├── test_fbi.py │ ├── test_feh.py │ ├── test_file.py │ ├── test_file_roller.py │ ├── test_filefrag.py │ ├── test_filesnarf.py │ ├── test_find.py │ ├── test_find_member.py │ ├── test_finger.py │ ├── test_fio.py │ ├── test_firefox.py │ ├── test_flake8.py │ ├── test_fmt.py │ ├── test_fold.py │ ├── test_fprintd_delete.py │ ├── test_fprintd_enroll.py │ ├── test_fprintd_list.py │ ├── test_fprintd_verify.py │ ├── test_free.py │ ├── test_freebsd_update.py │ ├── test_freeciv.py │ ├── test_freeciv_server.py │ ├── test_function.py │ ├── test_fusermount.py │ ├── test_g4.py │ ├── test_g77.py │ ├── test_gcc.py │ ├── test_gcj.py │ ├── test_gcl.py │ ├── test_gdb.py │ ├── test_genaliases.py │ ├── test_gendiff.py │ ├── test_genisoimage.py │ ├── test_geoiplookup.py │ ├── test_getconf.py │ ├── test_getent.py │ ├── test_gkrellm.py │ ├── test_gm.py │ ├── test_gmplayer.py │ ├── test_gnatmake.py │ ├── test_gnokii.py │ ├── test_gnome_mplayer.py │ ├── test_gnome_screenshot.py │ ├── test_gpasswd.py │ ├── test_gpc.py │ ├── test_gperf.py │ ├── test_gpg.py │ ├── test_gpg2.py │ ├── test_gpgv.py │ ├── test_gphoto2.py │ ├── test_gplusplus.py │ ├── test_gprof.py │ ├── test_grep.py │ ├── test_groupadd.py │ ├── test_groupdel.py │ ├── test_groupmems.py │ ├── test_groupmod.py │ ├── test_growisofs.py │ ├── test_grpck.py │ ├── test_grub.py │ ├── test_gssdp_device_sniffer.py │ ├── test_gssdp_discover.py │ ├── test_gzip.py │ ├── test_hash.py │ ├── test_hciattach.py │ ├── test_hciconfig.py │ ├── test_hcitool.py │ ├── test_hddtemp.py │ ├── test_head.py │ ├── test_help.py │ ├── test_hexdump.py │ ├── test_hid2hci.py │ ├── test_host.py │ ├── test_hostname.py │ ├── test_hping2.py │ ├── test_hping3.py │ ├── test_htop.py │ ├── test_htpasswd.py │ ├── test_hunspell.py │ ├── test_hwclock.py │ ├── test_iconv.py │ ├── test_id.py │ ├── test_identify.py │ ├── test_idn.py │ ├── test_ifdown.py │ ├── test_ifstat.py │ ├── test_iftop.py │ ├── test_ifup.py │ ├── test_import.py │ ├── test_influx.py │ ├── test_info.py │ ├── test_inject.py │ ├── test_inotifywait.py │ ├── test_inotifywatch.py │ ├── test_insmod.py │ ├── test_installpkg.py │ ├── test_interdiff.py │ ├── test_invoke_rc_d.py │ ├── test_ionice.py │ ├── test_ip.py │ ├── test_ipcalc.py │ ├── test_iperf.py │ ├── test_iperf3.py │ ├── test_ipmitool.py │ ├── test_ipsec.py │ ├── test_iptables.py │ ├── test_ipv6calc.py │ ├── test_irb.py │ ├── test_iscsiadm.py │ ├── test_isort.py │ ├── test_isql.py │ ├── test_iwconfig.py │ ├── test_iwlist.py │ ├── test_iwpriv.py │ ├── test_iwspy.py │ ├── test_jar.py │ ├── test_jarsigner.py │ ├── test_java.py │ ├── test_javac.py │ ├── test_javadoc.py │ ├── test_javaws.py │ ├── test_jpegoptim.py │ ├── test_jps.py │ ├── test_jq.py │ ├── test_jshint.py │ ├── test_json_xs.py │ ├── test_jsonschema.py │ ├── test_k3b.py │ ├── test_kcov.py │ ├── test_kdvi.py │ ├── test_kill.py │ ├── test_killall.py │ ├── test_kldload.py │ ├── test_kldunload.py │ ├── test_koji.py │ ├── test_kpdf.py │ ├── test_kplayer.py │ ├── test_ktutil.py │ ├── test_l2ping.py │ ├── test_larch.py │ ├── test_lastlog.py │ ├── test_ld.py │ ├── test_ldapadd.py │ ├── test_ldapcompare.py │ ├── test_ldapdelete.py │ ├── test_ldapmodrdn.py │ ├── test_ldappasswd.py │ ├── test_ldapsearch.py │ ├── test_ldapvi.py │ ├── test_ldapwhoami.py │ ├── test_ldd.py │ ├── test_less.py │ ├── test_lftp.py │ ├── test_lftpget.py │ ├── test_lilo.py │ ├── test_links.py │ ├── test_lintian.py │ ├── test_lintian_info.py │ ├── test_lisp.py │ ├── test_list_admins.py │ ├── test_list_lists.py │ ├── test_list_members.py │ ├── test_list_owners.py │ ├── test_ln.py │ ├── test_locale_gen.py │ ├── test_look.py │ ├── test_lpq.py │ ├── test_lpr.py │ ├── test_lrzip.py │ ├── test_ls.py │ ├── test_lsof.py │ ├── test_lspci.py │ ├── test_lsscsi.py │ ├── test_lsusb.py │ ├── test_lua.py │ ├── test_luac.py │ ├── test_luseradd.py │ ├── test_luserdel.py │ ├── test_lusermod.py │ ├── test_lvchange.py │ ├── test_lvcreate.py │ ├── test_lvdisplay.py │ ├── test_lvextend.py │ ├── test_lvm.py │ ├── test_lvmdiskscan.py │ ├── test_lvreduce.py │ ├── test_lvremove.py │ ├── test_lvrename.py │ ├── test_lvresize.py │ ├── test_lvs.py │ ├── test_lvscan.py │ ├── test_lz4.py │ ├── test_lzip.py │ ├── test_lzma.py │ ├── test_lzop.py │ ├── test_m4.py │ ├── test_macof.py │ ├── test_mailmanctl.py │ ├── test_mailsnarf.py │ ├── test_make.py │ ├── test_makepkg.py │ ├── test_man.py │ ├── test_mc.py │ ├── test_mcrypt.py │ ├── test_md5sum.py │ ├── test_mdadm.py │ ├── test_mdecrypt.py │ ├── test_mdtool.py │ ├── test_medusa.py │ ├── test_mencoder.py │ ├── test_mfiutil.py │ ├── test_mii_diag.py │ ├── test_mii_tool.py │ ├── test_minicom.py │ ├── test_mkdir.py │ ├── test_mkfifo.py │ ├── test_mkinitrd.py │ ├── test_mkisofs.py │ ├── test_mknod.py │ ├── test_mktemp.py │ ├── test_mmsitepass.py │ ├── test_mock.py │ ├── test_modinfo.py │ ├── test_modprobe.py │ ├── test_module.py │ ├── test_mogrify.py │ ├── test_monodevelop.py │ ├── test_montage.py │ ├── test_mount.py │ ├── test_mplayer.py │ ├── test_mr.py │ ├── test_msgsnarf.py │ ├── test_msynctool.py │ ├── test_mtr.py │ ├── test_mtx.py │ ├── test_munin_node_configure.py │ ├── test_munin_run.py │ ├── test_munindoc.py │ ├── test_mussh.py │ ├── test_mutt.py │ ├── test_muttng.py │ ├── test_mv.py │ ├── test_mypy.py │ ├── test_mysql.py │ ├── test_mysqladmin.py │ ├── test_nc.py │ ├── test_ncftp.py │ ├── test_neomutt.py │ ├── test_nethogs.py │ ├── test_netstat.py │ ├── test_newgrp.py │ ├── test_newlist.py │ ├── test_newusers.py │ ├── test_ngrep.py │ ├── test_nl.py │ ├── test_nload.py │ ├── test_nm.py │ ├── test_nmap.py │ ├── test_nmcli.py │ ├── test_nproc.py │ ├── test_nslookup.py │ ├── test_nsupdate.py │ ├── test_ntpdate.py │ ├── test_objcopy.py │ ├── test_objdump.py │ ├── test_od.py │ ├── test_oggdec.py │ ├── test_openssl.py │ ├── test_opera.py │ ├── test_optipng.py │ ├── test_p4.py │ ├── test_pack200.py │ ├── test_passwd.py │ ├── test_paste.py │ ├── test_patch.py │ ├── test_pdftoppm.py │ ├── test_pdftotext.py │ ├── test_perl.py │ ├── test_perlcritic.py │ ├── test_perldoc.py │ ├── test_perltidy.py │ ├── test_pgrep.py │ ├── test_phing.py │ ├── test_pidof.py │ ├── test_pine.py │ ├── test_pinfo.py │ ├── test_ping.py │ ├── test_pkg_config.py │ ├── test_pkg_deinstall.py │ ├── test_pkg_delete.py │ ├── test_pkg_get.py │ ├── test_pkg_info.py │ ├── test_pkgadd.py │ ├── test_pkgconf.py │ ├── test_pkgrm.py │ ├── test_pkgtool.py │ ├── test_pkgutil.py │ ├── test_pkill.py │ ├── test_plague_client.py │ ├── test_pm_hibernate.py │ ├── test_pm_is_supported.py │ ├── test_pm_powersave.py │ ├── test_pngfix.py │ ├── test_portinstall.py │ ├── test_portsnap.py │ ├── test_portupgrade.py │ ├── test_postcat.py │ ├── test_postconf.py │ ├── test_postfix.py │ ├── test_postmap.py │ ├── test_postsuper.py │ ├── test_povray.py │ ├── test_pr.py │ ├── test_prelink.py │ ├── test_printenv.py │ ├── test_protoc.py │ ├── test_ps.py │ ├── test_psql.py │ ├── test_ptx.py │ ├── test_puppet.py │ ├── test_pushd.py │ ├── test_pv.py │ ├── test_pvchange.py │ ├── test_pvcreate.py │ ├── test_pvdisplay.py │ ├── test_pvmove.py │ ├── test_pvremove.py │ ├── test_pvs.py │ ├── test_pvscan.py │ ├── test_pwck.py │ ├── test_pwd.py │ ├── test_pwdx.py │ ├── test_pwgen.py │ ├── test_pycodestyle.py │ ├── test_pydoc.py │ ├── test_pydocstyle.py │ ├── test_pyflakes.py │ ├── test_pylint.py │ ├── test_pylint_3.py │ ├── test_pyston.py │ ├── test_pytest.py │ ├── test_python.py │ ├── test_python3.py │ ├── test_pyvenv.py │ ├── test_qemu.py │ ├── test_qemu_system_x86_64.py │ ├── test_qrunner.py │ ├── test_querybts.py │ ├── test_quota.py │ ├── test_quotacheck.py │ ├── test_quotaon.py │ ├── test_radvdump.py │ ├── test_rcs.py │ ├── test_rcsdiff.py │ ├── test_rdesktop.py │ ├── test_rdict.py │ ├── test_readelf.py │ ├── test_readonly.py │ ├── test_remove_members.py │ ├── test_removepkg.py │ ├── test_renice.py │ ├── test_repomanage.py │ ├── test_reportbug.py │ ├── test_reptyr.py │ ├── test_resolvconf.py │ ├── test_rfcomm.py │ ├── test_rfkill.py │ ├── test_ri.py │ ├── test_rlog.py │ ├── test_rm.py │ ├── test_rmdir.py │ ├── test_rmlist.py │ ├── test_rmmod.py │ ├── test_route.py │ ├── test_rpcdebug.py │ ├── test_rpm.py │ ├── test_rpm2tgz.py │ ├── test_rpmbuild.py │ ├── test_rrdtool.py │ ├── test_rsync.py │ ├── test_rtcwake.py │ ├── test_runuser.py │ ├── test_sbcl.py │ ├── test_sbcl_mt.py │ ├── test_sbopkg.py │ ├── test_scp.py │ ├── test_screen.py │ ├── test_scrub.py │ ├── test_sdptool.py │ ├── test_secret_tool.py │ ├── test_sed.py │ ├── test_seq.py │ ├── test_service.py │ ├── test_set.py │ ├── test_setquota.py │ ├── test_sftp.py │ ├── test_sh.py │ ├── test_sha1sum.py │ ├── test_sha224sum.py │ ├── test_sha256sum.py │ ├── test_sha384sum.py │ ├── test_sha512sum.py │ ├── test_shar.py │ ├── test_shellcheck.py │ ├── test_shtab.py │ ├── test_sitecopy.py │ ├── test_slabtop.py │ ├── test_slackpkg.py │ ├── test_slapt_get.py │ ├── test_slapt_src.py │ ├── test_smartctl.py │ ├── test_smbcacls.py │ ├── test_smbclient.py │ ├── test_smbcquotas.py │ ├── test_smbget.py │ ├── test_smbpasswd.py │ ├── test_smbtar.py │ ├── test_smbtree.py │ ├── test_snownews.py │ ├── test_sort.py │ ├── test_split.py │ ├── test_spovray.py │ ├── test_sqlite3.py │ ├── test_ss.py │ ├── test_ssh.py │ ├── test_ssh_add.py │ ├── test_ssh_copy_id.py │ ├── test_ssh_keygen.py │ ├── test_ssh_keyscan.py │ ├── test_sshfs.py │ ├── test_sshmitm.py │ ├── test_sshow.py │ ├── test_strace.py │ ├── test_stream.py │ ├── test_strings.py │ ├── test_strip.py │ ├── test_su.py │ ├── test_sudo.py │ ├── test_sum.py │ ├── test_svcadm.py │ ├── test_svk.py │ ├── test_svn.py │ ├── test_svnadmin.py │ ├── test_svnlook.py │ ├── test_sync_members.py │ ├── test_synclient.py │ ├── test_sysbench.py │ ├── test_sysctl.py │ ├── test_tac.py │ ├── test_tail.py │ ├── test_tar.py │ ├── test_tcpdump.py │ ├── test_tcpkill.py │ ├── test_tcpnice.py │ ├── test_tee.py │ ├── test_texindex.py │ ├── test_tightvncviewer.py │ ├── test_time.py │ ├── test_timeout.py │ ├── test_tipc.py │ ├── test_tmux.py │ ├── test_totem.py │ ├── test_touch.py │ ├── test_tox.py │ ├── test_tr.py │ ├── test_tracepath.py │ ├── test_tree.py │ ├── test_truncate.py │ ├── test_tshark.py │ ├── test_tsig_keygen.py │ ├── test_tune2fs.py │ ├── test_udevadm.py │ ├── test_ulimit.py │ ├── test_umount.py │ ├── test_unace.py │ ├── test_uname.py │ ├── test_unexpand.py │ ├── test_uniq.py │ ├── test_units.py │ ├── test_unpack200.py │ ├── test_unrar.py │ ├── test_unset.py │ ├── test_unshunt.py │ ├── test_update_alternatives.py │ ├── test_update_rc_d.py │ ├── test_upgradepkg.py │ ├── test_urlsnarf.py │ ├── test_uscan.py │ ├── test_useradd.py │ ├── test_userdel.py │ ├── test_usermod.py │ ├── test_valgrind.py │ ├── test_vdir.py │ ├── test_vgcfgbackup.py │ ├── test_vgcfgrestore.py │ ├── test_vgchange.py │ ├── test_vgck.py │ ├── test_vgconvert.py │ ├── test_vgcreate.py │ ├── test_vgdisplay.py │ ├── test_vgexport.py │ ├── test_vgextend.py │ ├── test_vgimport.py │ ├── test_vgmerge.py │ ├── test_vgmknodes.py │ ├── test_vgreduce.py │ ├── test_vgremove.py │ ├── test_vgrename.py │ ├── test_vgs.py │ ├── test_vgscan.py │ ├── test_vgsplit.py │ ├── test_vi.py │ ├── test_vipw.py │ ├── test_vmstat.py │ ├── test_vncviewer.py │ ├── test_vpnc.py │ ├── test_watch.py │ ├── test_wc.py │ ├── test_webmitm.py │ ├── test_wget.py │ ├── test_who.py │ ├── test_wine.py │ ├── test_withlist.py │ ├── test_wodim.py │ ├── test_wol.py │ ├── test_write.py │ ├── test_wsimport.py │ ├── test_wtf.py │ ├── test_wvdial.py │ ├── test_xdg_mime.py │ ├── test_xdg_settings.py │ ├── test_xev.py │ ├── test_xfreerdp.py │ ├── test_xgamma.py │ ├── test_xhost.py │ ├── test_xm.py │ ├── test_xmllint.py │ ├── test_xmlwf.py │ ├── test_xmms.py │ ├── test_xmodmap.py │ ├── test_xpovray.py │ ├── test_xrandr.py │ ├── test_xrdb.py │ ├── test_xsltproc.py │ ├── test_xvfb_run.py │ ├── test_xvnc4viewer.py │ ├── test_xxd.py │ ├── test_xz.py │ ├── test_xzdec.py │ ├── test_ypcat.py │ ├── test_ypmatch.py │ ├── test_yum.py │ ├── test_yum_arch.py │ ├── test_zopfli.py │ ├── test_zopflipng.py │ └── unit │ │ ├── Makefile.am │ │ ├── test_unit_abspath.py │ │ ├── test_unit_command_offset.py │ │ ├── test_unit_compgen.py │ │ ├── test_unit_compgen_available_interfaces.py │ │ ├── test_unit_compgen_commands.py │ │ ├── test_unit_compgen_filedir.py │ │ ├── test_unit_compgen_ip_addresses.py │ │ ├── test_unit_compgen_known_hosts.py │ │ ├── test_unit_compgen_pgids.py │ │ ├── test_unit_compgen_pids.py │ │ ├── test_unit_compgen_pnames.py │ │ ├── test_unit_compgen_split.py │ │ ├── test_unit_compgen_tilde.py │ │ ├── test_unit_compgen_variables.py │ │ ├── test_unit_compgen_xinetd_services.py │ │ ├── test_unit_complete_longopt.py │ │ ├── test_unit_count_args.py │ │ ├── test_unit_delimited.py │ │ ├── test_unit_deprecate_func.py │ │ ├── test_unit_dequote.py │ │ ├── test_unit_expand.py │ │ ├── test_unit_expand_glob.py │ │ ├── test_unit_expand_tilde.py │ │ ├── test_unit_find_unique_completion_pair.py │ │ ├── test_unit_get_cword.py │ │ ├── test_unit_get_first_arg.py │ │ ├── test_unit_get_words.py │ │ ├── test_unit_initialize.py │ │ ├── test_unit_load.py │ │ ├── test_unit_looks_like_path.py │ │ ├── test_unit_parse_help.py │ │ ├── test_unit_parse_usage.py │ │ ├── test_unit_quote.py │ │ ├── test_unit_quote_compgen.py │ │ ├── test_unit_realcommand.py │ │ ├── test_unit_split.py │ │ ├── test_unit_unlocal.py │ │ └── test_unit_xfunc.py ├── test-cmd-list.txt └── update-test-cmd-list └── version.txt /.github/release-please-manifest.json: -------------------------------------------------------------------------------- 1 | {".":"2.16.0"} 2 | -------------------------------------------------------------------------------- /.github/requirements.txt: -------------------------------------------------------------------------------- 1 | -r ../test/requirements-dev.txt 2 | 3 | gitlint==0.19.1 4 | pre-commit>=3.2.0 5 | -------------------------------------------------------------------------------- /.perltidyrc: -------------------------------------------------------------------------------- 1 | --perl-best-practices 2 | --maximum-line-length=79 3 | --paren-tightness=2 4 | --cuddled-else 5 | --warning-output 6 | --converge 7 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | David Paleino (Debian) 2 | Freddy Vulto 3 | Guillame Rousse (Mandriva) 4 | Igor Murzov 5 | Mike Kelly (Exherbo) 6 | Santiago M. Mola (Exherbo) 7 | Ville Skyttä 8 | -------------------------------------------------------------------------------- /bash-completion-config-version.cmake.in: -------------------------------------------------------------------------------- 1 | set (PACKAGE_VERSION "@VERSION@") 2 | if (NOT ${PACKAGE_FIND_VERSION} VERSION_GREATER ${PACKAGE_VERSION}) 3 | set (PACKAGE_VERSION_COMPATIBLE 1) 4 | if (${PACKAGE_FIND_VERSION} VERSION_EQUAL ${PACKAGE_VERSION}) 5 | set (PACKAGE_VERSION_EXACT 1) 6 | endif () 7 | endif () 8 | -------------------------------------------------------------------------------- /completions/_chfn: -------------------------------------------------------------------------------- 1 | # chfn(1) completion -*- shell-script -*- 2 | 3 | # Use of this file is deprecated on Linux. Upstream completion is 4 | # available in util-linux >= 2.23, use that instead. 5 | 6 | complete -u chfn 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_gaiacli: -------------------------------------------------------------------------------- 1 | # 3rd party completion loader for commands emitting -*- shell-script -*- 2 | # their completion using "$cmd completion". 3 | # 4 | # This serves as a fallback in case the completion is not installed otherwise. 5 | 6 | eval -- "$("$1" completion 2>/dev/null)" 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_jj: -------------------------------------------------------------------------------- 1 | # 3rd party completion loader for commands emitting -*- shell-script -*- 2 | # their completion using "$cmd util completion bash". 3 | # 4 | # This serves as a fallback in case the completion is not installed otherwise. 5 | 6 | eval -- "$("$1" util completion bash 2>/dev/null)" 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_mdbook: -------------------------------------------------------------------------------- 1 | # 3rd party completion loader for commands emitting -*- shell-script -*- 2 | # their completion using "$cmd completions bash". 3 | # 4 | # This serves as a fallback in case the completion is not installed otherwise. 5 | 6 | eval -- "$("$1" completions bash 2>/dev/null)" 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_mtr: -------------------------------------------------------------------------------- 1 | # mtr(8) completion -*- shell-script -*- 2 | 3 | # Use of this file is deprecated. 4 | # Upstream completion is available in mtr >= 0.88, use that instead. 5 | 6 | complete -F _comp_complete_known_hosts mtr 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_runuser: -------------------------------------------------------------------------------- 1 | # runuser(1) completion -*- shell-script -*- 2 | 3 | # Use of this file is deprecated on Linux. Upstream completion is 4 | # available in util-linux >= 2.23, use that instead. 5 | 6 | complete -u runuser 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_rustup: -------------------------------------------------------------------------------- 1 | # 3rd party completion loader for rustup -*- shell-script -*- 2 | # 3 | # This serves as a fallback in case the completion is not installed otherwise. 4 | 5 | eval -- "$("$1" completions bash rustup 2>/dev/null)" 6 | 7 | # ex: filetype=sh 8 | -------------------------------------------------------------------------------- /completions/_stern: -------------------------------------------------------------------------------- 1 | # 3rd party completion loader for commands emitting -*- shell-script -*- 2 | # their completion using "$cmd --completion bash". 3 | # 4 | # This serves as a fallback in case the completion is not installed otherwise. 5 | 6 | eval -- "$("$1" --completion bash 2>/dev/null)" 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_task: -------------------------------------------------------------------------------- 1 | # 3rd party completion loader for commands emitting -*- shell-script -*- 2 | # their completion using "$cmd --completion bash". 3 | # 4 | # This serves as a fallback in case the completion is not installed otherwise. 5 | 6 | eval -- "$("$1" --completion bash 2>/dev/null)" 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/_write: -------------------------------------------------------------------------------- 1 | # write(1) completion -*- shell-script -*- 2 | 3 | # Use of this file is deprecated on Linux. Upstream completion is 4 | # available in util-linux >= 2.23, use that instead. 5 | 6 | complete -u write 7 | 8 | # ex: filetype=sh 9 | -------------------------------------------------------------------------------- /completions/explodepkg: -------------------------------------------------------------------------------- 1 | # Slackware Linux explodepkg completion -*- shell-script -*- 2 | 3 | complete -o plusdirs -f -X '!*.t[bglx]z' explodepkg 4 | 5 | # ex: filetype=sh 6 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | api-and-naming.md \ 3 | configuration.md \ 4 | styleguide.md \ 5 | testing.md 6 | -------------------------------------------------------------------------------- /helpers/Makefile.am: -------------------------------------------------------------------------------- 1 | helpersdir = $(datadir)/$(PACKAGE)/helpers 2 | helpers_DATA = perl python make-extract-targets.awk 3 | 4 | EXTRA_DIST = $(helpers_DATA) 5 | -------------------------------------------------------------------------------- /setup-symlinks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -eu 2 | 3 | targetdir=$1 4 | shift 5 | target=$1 6 | shift 7 | 8 | for file in "$@"; do 9 | rm -f "$targetdir/$file" 10 | ln -s "$target" "$targetdir/$file" 11 | done 12 | -------------------------------------------------------------------------------- /test/.dockerignore: -------------------------------------------------------------------------------- 1 | **/__pycache__/ 2 | -------------------------------------------------------------------------------- /test/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = fallback t 2 | 3 | EXTRA_DIST = config \ 4 | fixtures \ 5 | setup.cfg 6 | 7 | CLEANFILES = \ 8 | fixtures/make/extra_makefile 9 | -------------------------------------------------------------------------------- /test/fallback/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = completions 2 | 3 | EXTRA_DIST = \ 4 | update-fallback-links 5 | 6 | update: 7 | ./update-fallback-links 8 | -------------------------------------------------------------------------------- /test/fallback/completions/adb: -------------------------------------------------------------------------------- 1 | ../../../completions/_adb -------------------------------------------------------------------------------- /test/fallback/completions/argc: -------------------------------------------------------------------------------- 1 | ../../../completions/_argc -------------------------------------------------------------------------------- /test/fallback/completions/cal: -------------------------------------------------------------------------------- 1 | ../../../completions/_cal -------------------------------------------------------------------------------- /test/fallback/completions/cargo: -------------------------------------------------------------------------------- 1 | ../../../completions/_cargo -------------------------------------------------------------------------------- /test/fallback/completions/chfn: -------------------------------------------------------------------------------- 1 | ../../../completions/_chfn -------------------------------------------------------------------------------- /test/fallback/completions/chsh: -------------------------------------------------------------------------------- 1 | ../../../completions/_chsh -------------------------------------------------------------------------------- /test/fallback/completions/coder: -------------------------------------------------------------------------------- 1 | ../../../completions/_coder -------------------------------------------------------------------------------- /test/fallback/completions/delta: -------------------------------------------------------------------------------- 1 | ../../../completions/_delta -------------------------------------------------------------------------------- /test/fallback/completions/dmesg: -------------------------------------------------------------------------------- 1 | ../../../completions/_dmesg -------------------------------------------------------------------------------- /test/fallback/completions/eject: -------------------------------------------------------------------------------- 1 | ../../../completions/_eject -------------------------------------------------------------------------------- /test/fallback/completions/flamegraph: -------------------------------------------------------------------------------- 1 | ../../../completions/_flamegraph -------------------------------------------------------------------------------- /test/fallback/completions/gaiacli: -------------------------------------------------------------------------------- 1 | ../../../completions/_gaiacli -------------------------------------------------------------------------------- /test/fallback/completions/gh: -------------------------------------------------------------------------------- 1 | ../../../completions/_gh -------------------------------------------------------------------------------- /test/fallback/completions/golangci-lint: -------------------------------------------------------------------------------- 1 | ../../../completions/_golangci-lint -------------------------------------------------------------------------------- /test/fallback/completions/gsctl: -------------------------------------------------------------------------------- 1 | ../../../completions/_gsctl -------------------------------------------------------------------------------- /test/fallback/completions/hexdump: -------------------------------------------------------------------------------- 1 | ../../../completions/_hexdump -------------------------------------------------------------------------------- /test/fallback/completions/hwclock: -------------------------------------------------------------------------------- 1 | ../../../completions/_hwclock -------------------------------------------------------------------------------- /test/fallback/completions/insmod: -------------------------------------------------------------------------------- 1 | ../../../completions/_insmod -------------------------------------------------------------------------------- /test/fallback/completions/ionice: -------------------------------------------------------------------------------- 1 | ../../../completions/_ionice -------------------------------------------------------------------------------- /test/fallback/completions/jj: -------------------------------------------------------------------------------- 1 | ../../../completions/_jj -------------------------------------------------------------------------------- /test/fallback/completions/jungle: -------------------------------------------------------------------------------- 1 | ../../../completions/_jungle -------------------------------------------------------------------------------- /test/fallback/completions/keyring: -------------------------------------------------------------------------------- 1 | ../../../completions/_keyring -------------------------------------------------------------------------------- /test/fallback/completions/kontena: -------------------------------------------------------------------------------- 1 | ../../../completions/_kontena -------------------------------------------------------------------------------- /test/fallback/completions/look: -------------------------------------------------------------------------------- 1 | ../../../completions/_look -------------------------------------------------------------------------------- /test/fallback/completions/mdbook: -------------------------------------------------------------------------------- 1 | ../../../completions/_mdbook -------------------------------------------------------------------------------- /test/fallback/completions/mock: -------------------------------------------------------------------------------- 1 | ../../../completions/_mock -------------------------------------------------------------------------------- /test/fallback/completions/modinfo: -------------------------------------------------------------------------------- 1 | ../../../completions/_modinfo -------------------------------------------------------------------------------- /test/fallback/completions/modprobe: -------------------------------------------------------------------------------- 1 | ../../../completions/_modprobe -------------------------------------------------------------------------------- /test/fallback/completions/modules: -------------------------------------------------------------------------------- 1 | ../../../completions/_modules -------------------------------------------------------------------------------- /test/fallback/completions/mount: -------------------------------------------------------------------------------- 1 | ../../../completions/_mount -------------------------------------------------------------------------------- /test/fallback/completions/mount.linux: -------------------------------------------------------------------------------- 1 | ../../../completions/_mount.linux -------------------------------------------------------------------------------- /test/fallback/completions/mtr: -------------------------------------------------------------------------------- 1 | ../../../completions/_mtr -------------------------------------------------------------------------------- /test/fallback/completions/newgrp: -------------------------------------------------------------------------------- 1 | ../../../completions/_newgrp -------------------------------------------------------------------------------- /test/fallback/completions/nmcli: -------------------------------------------------------------------------------- 1 | ../../../completions/_nmcli -------------------------------------------------------------------------------- /test/fallback/completions/nox: -------------------------------------------------------------------------------- 1 | ../../../completions/_nox -------------------------------------------------------------------------------- /test/fallback/completions/nvm: -------------------------------------------------------------------------------- 1 | ../../../completions/_nvm -------------------------------------------------------------------------------- /test/fallback/completions/pip: -------------------------------------------------------------------------------- 1 | ../../../completions/_pip -------------------------------------------------------------------------------- /test/fallback/completions/pipenv: -------------------------------------------------------------------------------- 1 | ../../../completions/_pipenv -------------------------------------------------------------------------------- /test/fallback/completions/renice: -------------------------------------------------------------------------------- 1 | ../../../completions/_renice -------------------------------------------------------------------------------- /test/fallback/completions/repomanage: -------------------------------------------------------------------------------- 1 | ../../../completions/_repomanage -------------------------------------------------------------------------------- /test/fallback/completions/reptyr: -------------------------------------------------------------------------------- 1 | ../../../completions/_reptyr -------------------------------------------------------------------------------- /test/fallback/completions/rfkill: -------------------------------------------------------------------------------- 1 | ../../../completions/_rfkill -------------------------------------------------------------------------------- /test/fallback/completions/rg: -------------------------------------------------------------------------------- 1 | ../../../completions/_rg -------------------------------------------------------------------------------- /test/fallback/completions/rmmod: -------------------------------------------------------------------------------- 1 | ../../../completions/_rmmod -------------------------------------------------------------------------------- /test/fallback/completions/rtcwake: -------------------------------------------------------------------------------- 1 | ../../../completions/_rtcwake -------------------------------------------------------------------------------- /test/fallback/completions/ruff: -------------------------------------------------------------------------------- 1 | ../../../completions/_ruff -------------------------------------------------------------------------------- /test/fallback/completions/runuser: -------------------------------------------------------------------------------- 1 | ../../../completions/_runuser -------------------------------------------------------------------------------- /test/fallback/completions/rustup: -------------------------------------------------------------------------------- 1 | ../../../completions/_rustup -------------------------------------------------------------------------------- /test/fallback/completions/secret-tool: -------------------------------------------------------------------------------- 1 | ../../../completions/_secret-tool -------------------------------------------------------------------------------- /test/fallback/completions/shtab: -------------------------------------------------------------------------------- 1 | ../../../completions/_shtab -------------------------------------------------------------------------------- /test/fallback/completions/slackpkg: -------------------------------------------------------------------------------- 1 | ../../../completions/_slackpkg -------------------------------------------------------------------------------- /test/fallback/completions/sops: -------------------------------------------------------------------------------- 1 | ../../../completions/_sops -------------------------------------------------------------------------------- /test/fallback/completions/stern: -------------------------------------------------------------------------------- 1 | ../../../completions/_stern -------------------------------------------------------------------------------- /test/fallback/completions/stripe: -------------------------------------------------------------------------------- 1 | ../../../completions/_stripe -------------------------------------------------------------------------------- /test/fallback/completions/su: -------------------------------------------------------------------------------- 1 | ../../../completions/_su -------------------------------------------------------------------------------- /test/fallback/completions/svn: -------------------------------------------------------------------------------- 1 | ../../../completions/_svn -------------------------------------------------------------------------------- /test/fallback/completions/svnadmin: -------------------------------------------------------------------------------- 1 | ../../../completions/_svnadmin -------------------------------------------------------------------------------- /test/fallback/completions/svnlook: -------------------------------------------------------------------------------- 1 | ../../../completions/_svnlook -------------------------------------------------------------------------------- /test/fallback/completions/task: -------------------------------------------------------------------------------- 1 | ../../../completions/_task -------------------------------------------------------------------------------- /test/fallback/completions/tokio-console: -------------------------------------------------------------------------------- 1 | ../../../completions/_tokio-console -------------------------------------------------------------------------------- /test/fallback/completions/udevadm: -------------------------------------------------------------------------------- 1 | ../../../completions/_udevadm -------------------------------------------------------------------------------- /test/fallback/completions/umount: -------------------------------------------------------------------------------- 1 | ../../../completions/_umount -------------------------------------------------------------------------------- /test/fallback/completions/umount.linux: -------------------------------------------------------------------------------- 1 | ../../../completions/_umount.linux -------------------------------------------------------------------------------- /test/fallback/completions/uvx: -------------------------------------------------------------------------------- 1 | ../../../completions/_uvx -------------------------------------------------------------------------------- /test/fallback/completions/vault: -------------------------------------------------------------------------------- 1 | ../../../completions/_vault -------------------------------------------------------------------------------- /test/fallback/completions/wasmer: -------------------------------------------------------------------------------- 1 | ../../../completions/_wasmer -------------------------------------------------------------------------------- /test/fallback/completions/write: -------------------------------------------------------------------------------- 1 | ../../../completions/_write -------------------------------------------------------------------------------- /test/fallback/completions/xm: -------------------------------------------------------------------------------- 1 | ../../../completions/_xm -------------------------------------------------------------------------------- /test/fallback/completions/yq: -------------------------------------------------------------------------------- 1 | ../../../completions/_yq -------------------------------------------------------------------------------- /test/fallback/completions/yum: -------------------------------------------------------------------------------- 1 | ../../../completions/_yum -------------------------------------------------------------------------------- /test/fixtures/7z/a.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/7z/a.7z -------------------------------------------------------------------------------- /test/fixtures/7z/f.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/7z/hello.7z.001: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/7z/hello.7z.001 -------------------------------------------------------------------------------- /test/fixtures/7z/hello.7z.002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/7z/hello.7z.002 -------------------------------------------------------------------------------- /test/fixtures/_comp_compgen_xinetd_services/xinetd.d/arp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_comp_compgen_xinetd_services/xinetd.d/arp -------------------------------------------------------------------------------- /test/fixtures/_comp_compgen_xinetd_services/xinetd.d/ifconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_comp_compgen_xinetd_services/xinetd.d/ifconfig -------------------------------------------------------------------------------- /test/fixtures/_comp_load/prefix1/bin/cmd1: -------------------------------------------------------------------------------- 1 | echo cmd1 2 | -------------------------------------------------------------------------------- /test/fixtures/_comp_load/prefix1/bin/sh: -------------------------------------------------------------------------------- 1 | echo sh 2 | -------------------------------------------------------------------------------- /test/fixtures/_comp_load/prefix1/sbin/cmd2: -------------------------------------------------------------------------------- 1 | echo cmd2 2 | -------------------------------------------------------------------------------- /test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd1: -------------------------------------------------------------------------------- 1 | echo 'cmd1: sourced from prefix1' 2 | complete -C true "$1" 3 | -------------------------------------------------------------------------------- /test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd2: -------------------------------------------------------------------------------- 1 | echo 'cmd2: sourced from prefix1' 2 | complete -C true "$1" 3 | -------------------------------------------------------------------------------- /test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh: -------------------------------------------------------------------------------- 1 | echo 'sh: sourced from prefix1' 2 | -------------------------------------------------------------------------------- /test/fixtures/_comp_load/userdir1/completions/cmd1: -------------------------------------------------------------------------------- 1 | echo 'cmd1: sourced from userdir1' 2 | complete -C true "$1" 3 | -------------------------------------------------------------------------------- /test/fixtures/_comp_load/userdir2/completions/cmd2: -------------------------------------------------------------------------------- 1 | echo 'cmd2: sourced from userdir2' 2 | complete -C true "$1" 3 | -------------------------------------------------------------------------------- /test/fixtures/_filedir/.dotfile1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/.dotfile1 -------------------------------------------------------------------------------- /test/fixtures/_filedir/.dotfile2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/.dotfile2 -------------------------------------------------------------------------------- /test/fixtures/_filedir/a b/i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/a b/i -------------------------------------------------------------------------------- /test/fixtures/_filedir/a$b/h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/a$b/h -------------------------------------------------------------------------------- /test/fixtures/_filedir/a&b/f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/a&b/f -------------------------------------------------------------------------------- /test/fixtures/_filedir/a'b/c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/a'b/c -------------------------------------------------------------------------------- /test/fixtures/_filedir/ab/e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/ab/e -------------------------------------------------------------------------------- /test/fixtures/_filedir/aé/g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/aé/g -------------------------------------------------------------------------------- /test/fixtures/_filedir/brackets/[x]: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/_filedir/brackets/x: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/_filedir/dotdot/..2016_02_01_15_04_05.123456: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/dotdot/..2016_02_01_15_04_05.123456 -------------------------------------------------------------------------------- /test/fixtures/_filedir/dotdot/..data: -------------------------------------------------------------------------------- 1 | ..2016_02_01_15_04_05.123456 -------------------------------------------------------------------------------- /test/fixtures/_filedir/dotdot/..folder/.nothing_here: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/dotdot/..folder/.nothing_here -------------------------------------------------------------------------------- /test/fixtures/_filedir/ext/ee.e1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/ext/ee.e1 -------------------------------------------------------------------------------- /test/fixtures/_filedir/ext/ff.e2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/ext/ff.e2 -------------------------------------------------------------------------------- /test/fixtures/_filedir/ext/foo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/ext/foo/.gitignore -------------------------------------------------------------------------------- /test/fixtures/_filedir/ext/gg.e1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/ext/gg.e1 -------------------------------------------------------------------------------- /test/fixtures/_filedir/ext/hh.e2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/ext/hh.e2 -------------------------------------------------------------------------------- /test/fixtures/_filedir/ext/ii.E1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_filedir/ext/ii.E1 -------------------------------------------------------------------------------- /test/fixtures/_get_cword/sea: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_get_cword/sea -------------------------------------------------------------------------------- /test/fixtures/_get_cword/seb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_get_cword/seb -------------------------------------------------------------------------------- /test/fixtures/_get_cword/sec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_get_cword/sec -------------------------------------------------------------------------------- /test/fixtures/_get_cword/ääää§: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_get_cword/ääää§ -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/.ssh/config_asterisk_1: -------------------------------------------------------------------------------- 1 | Host asterisk_1 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/.ssh/config_asterisk_2: -------------------------------------------------------------------------------- 1 | Host asterisk_2 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/.ssh/config_question_mark: -------------------------------------------------------------------------------- 1 | Host question_mark 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/.ssh/config_relative_path: -------------------------------------------------------------------------------- 1 | Host relative_path 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/config: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile _known_hosts/known_hosts 2 | 3 | # Unindented 4 | Host * 5 | IPQoS none 6 | Host gee* jar?this-part-we-do-not-complete-at-least-yet 7 | HostName %h.example.com 8 | # Indented, with = separator 9 | Host = hus%%eth0 !negated #not-a-comment 10 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/config_full_path: -------------------------------------------------------------------------------- 1 | Include ~/config_include_recursion 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/config_include_recursion: -------------------------------------------------------------------------------- 1 | Host recursion 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/config_tilde: -------------------------------------------------------------------------------- 1 | # With quotes and tilde, and = 2 | UserKnownHostsFile = "~/_known_hosts/known_hosts2" 3 | # Without quotes, with tilde, and another on the same line 4 | UserKnownHostsFile ~/_known_hosts/known_hosts3 _known_hosts/known_hosts4 5 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/gee-filename-canary: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/_known_hosts/gee-filename-canary -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/known_hosts2: -------------------------------------------------------------------------------- 1 | two,two2,two3,two*,t?o,two4 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/known_hosts3: -------------------------------------------------------------------------------- 1 | three 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/known_hosts4: -------------------------------------------------------------------------------- 1 | four 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/localhost_config: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile _known_hosts/localhost_hosts 2 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/localhost_hosts: -------------------------------------------------------------------------------- 1 | localhost 2 | 127.0.0.1 3 | ::1 4 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/spaced conf: -------------------------------------------------------------------------------- 1 | 2 | # Unindented 3 | Host gee 4 | UserKnownHostsFile "_known_hosts/spaced known_hosts" 5 | 6 | # Indented 7 | Host hus #not-a-comment 8 | UserKnownHostsFile "_known_hosts/known_hosts2" 9 | -------------------------------------------------------------------------------- /test/fixtures/_known_hosts/spaced known_hosts: -------------------------------------------------------------------------------- 1 | |1|abc 2 | |1|def 3 | doo 4 | ike ssh-rsa qwerty1234/Qwerty+1234== 5 | -------------------------------------------------------------------------------- /test/fixtures/_longopt/various.txt: -------------------------------------------------------------------------------- 1 | --- 2 | ----nonono 3 | --foo_bar 4 | --foo- 5 | --foo=bar 6 | -------------------------------------------------------------------------------- /test/fixtures/acroread/bar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/acroread/bar -------------------------------------------------------------------------------- /test/fixtures/acroread/foo.d/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/acroread/foo.d/.gitignore -------------------------------------------------------------------------------- /test/fixtures/acroread/t.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/acroread/t.pdf -------------------------------------------------------------------------------- /test/fixtures/ant/.gitignore: -------------------------------------------------------------------------------- 1 | /.ant-targets-*.xml 2 | -------------------------------------------------------------------------------- /test/fixtures/ant/build-with-import.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/fixtures/ant/imported-build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/fixtures/ant/named-build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/fixtures/apt-mark/example.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/apt-mark/example.conf -------------------------------------------------------------------------------- /test/fixtures/bsdtar/test.pax: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/bsdtar/test.pax -------------------------------------------------------------------------------- /test/fixtures/bsdtar/test.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/bsdtar/test.rar -------------------------------------------------------------------------------- /test/fixtures/bsdtar/test.shar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/bsdtar/test.shar -------------------------------------------------------------------------------- /test/fixtures/compgen/a'b/c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/compgen/a'b/c -------------------------------------------------------------------------------- /test/fixtures/cvs/.cvspass: -------------------------------------------------------------------------------- 1 | /1 :pserver:anonymous@cvs.savannah.nongnu.org:2401/sources/cvs A 2 | /1 :pserver:anonymous@cvs.fedoraproject.org:2401/cvs/pkgs A 3 | -------------------------------------------------------------------------------- /test/fixtures/cvs/foo/CVS/Entries: -------------------------------------------------------------------------------- 1 | /bar/1.1/Tue Jan 29 05:52:29 2008// 2 | D 3 | -------------------------------------------------------------------------------- /test/fixtures/cvs/foo/bar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/cvs/foo/bar -------------------------------------------------------------------------------- /test/fixtures/cvs/foo/quux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/cvs/foo/quux -------------------------------------------------------------------------------- /test/fixtures/dot/test1.gv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/dot/test1.gv -------------------------------------------------------------------------------- /test/fixtures/dot/test2.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/dot/test2.dot -------------------------------------------------------------------------------- /test/fixtures/dpkg/bash-completion-test-nonsubject.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/dpkg/bash-completion-test-nonsubject.txt -------------------------------------------------------------------------------- /test/fixtures/dpkg/bash-completion-test-subject.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/dpkg/bash-completion-test-subject.deb -------------------------------------------------------------------------------- /test/fixtures/gdb/core: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/gdb/core -------------------------------------------------------------------------------- /test/fixtures/gdb/core-NOT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/gdb/core-NOT -------------------------------------------------------------------------------- /test/fixtures/gdb/core.12345: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/gdb/core.12345 -------------------------------------------------------------------------------- /test/fixtures/gdb/core.weston.1000.deadbeef.5308.1555362132000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/gdb/core.weston.1000.deadbeef.5308.1555362132000000 -------------------------------------------------------------------------------- /test/fixtures/gdb/corenot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/gdb/corenot -------------------------------------------------------------------------------- /test/fixtures/htpasswd/htpasswd: -------------------------------------------------------------------------------- 1 | foo:bar 2 | quux:baz 3 | -------------------------------------------------------------------------------- /test/fixtures/info/bash-completion.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/info/bash-completion.info -------------------------------------------------------------------------------- /test/fixtures/isql/odbc.ini: -------------------------------------------------------------------------------- 1 | [foo] 2 | 3 | [bar] 4 | -------------------------------------------------------------------------------- /test/fixtures/java/a/b$c.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/java/a/b$c.class -------------------------------------------------------------------------------- /test/fixtures/java/a/b.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/java/a/b.class -------------------------------------------------------------------------------- /test/fixtures/java/a/c/README.txt: -------------------------------------------------------------------------------- 1 | When CLASSPATH is set to the fixtures/java/a dir, we do *not* expect 2 | *.class in subdirs to be included in completions, see Debian bug #496828. 3 | -------------------------------------------------------------------------------- /test/fixtures/java/a/c/d.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/java/a/c/d.class -------------------------------------------------------------------------------- /test/fixtures/java/a/d.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/java/a/d.txt -------------------------------------------------------------------------------- /test/fixtures/java/bashcomp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/java/bashcomp.jar -------------------------------------------------------------------------------- /test/fixtures/java/bashcomp.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/java/bashcomp.war -------------------------------------------------------------------------------- /test/fixtures/java/no-complete.txt: -------------------------------------------------------------------------------- 1 | This file should not be included in classpath etc completions. 2 | -------------------------------------------------------------------------------- /test/fixtures/lftp/.lftp/bookmarks: -------------------------------------------------------------------------------- 1 | lftptest ftp://ftp.funet.fi/ 2 | spacetest ftp://ftp.sunet.se/ 3 | badbookmark 4 | -------------------------------------------------------------------------------- /test/fixtures/make/.gitignore: -------------------------------------------------------------------------------- 1 | /extra_makefile 2 | -------------------------------------------------------------------------------- /test/fixtures/make/sample.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "sample.h" 3 | 4 | int main(void) 5 | { 6 | puts("Hello, world!"); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /test/fixtures/make/sample.d: -------------------------------------------------------------------------------- 1 | sample.o: sample.c sample.h 2 | 3 | sample.h: 4 | -------------------------------------------------------------------------------- /test/fixtures/make/sample.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/make/sample.h -------------------------------------------------------------------------------- /test/fixtures/man/man/quux.8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/man/man/quux.8 -------------------------------------------------------------------------------- /test/fixtures/man/man1/bash-completion-testcase.1.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/man/man1/bash-completion-testcase.1.bz2 -------------------------------------------------------------------------------- /test/fixtures/man/man1/foo.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/man/man1/foo.1 -------------------------------------------------------------------------------- /test/fixtures/man/man3/bash-completion-zstd-testcase.3head.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/man/man3/bash-completion-zstd-testcase.3head.zst -------------------------------------------------------------------------------- /test/fixtures/mount/bin/showmount: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ $1 == -e && $2 == "mocksrv" ]]; then 4 | echo "Header line" 5 | echo "/test/path" 6 | echo "/test/path2" 7 | echo "/second/path" 8 | exit 0 9 | fi 10 | 11 | echo "Usage: 'showmount -e mocksrv'; nothing else works." 12 | exit 1 13 | -------------------------------------------------------------------------------- /test/fixtures/mplayer/.mplayer/config: -------------------------------------------------------------------------------- 1 | # https://github.com/scop/bash-completion/issues/182 2 | msglevel=all=3 3 | -------------------------------------------------------------------------------- /test/fixtures/mplayer/.mplayer/mencoder.conf: -------------------------------------------------------------------------------- 1 | # mencoder test config file 2 | -------------------------------------------------------------------------------- /test/fixtures/mutt/bar/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/mutt/bar/.gitignore -------------------------------------------------------------------------------- /test/fixtures/mutt/bar/muttrc_b: -------------------------------------------------------------------------------- 1 | source ~/foo/muttrc_f 2 | -------------------------------------------------------------------------------- /test/fixtures/mutt/foo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/mutt/foo/.gitignore -------------------------------------------------------------------------------- /test/fixtures/mutt/foo/muttrc_f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/mutt/foo/muttrc_f -------------------------------------------------------------------------------- /test/fixtures/mutt/muttrc: -------------------------------------------------------------------------------- 1 | set folder=. 2 | alias a1 a1@example.com 3 | alias a2 a2@example.com 4 | source ~/bar/muttrc_b 5 | -------------------------------------------------------------------------------- /test/fixtures/perl/Devel/BashCompletion.pm: -------------------------------------------------------------------------------- 1 | use strict; 2 | use warnings; 3 | 1; 4 | -------------------------------------------------------------------------------- /test/fixtures/perldoc/BashCompletionDoc.pod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/perldoc/BashCompletionDoc.pod -------------------------------------------------------------------------------- /test/fixtures/perldoc/BashCompletionModule.pm: -------------------------------------------------------------------------------- 1 | package BashCompletionModule; 2 | use strict; 3 | use warnings; 4 | 1; 5 | -------------------------------------------------------------------------------- /test/fixtures/pkgtools/db/a-1.0,1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/pkgtools/db/a-1.0,1/.gitignore -------------------------------------------------------------------------------- /test/fixtures/pkgtools/db/b-c-d-2.0_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/pkgtools/db/b-c-d-2.0_2/.gitignore -------------------------------------------------------------------------------- /test/fixtures/pkgtools/ports/.gitignore: -------------------------------------------------------------------------------- 1 | /INDEX 2 | /INDEX-5 3 | -------------------------------------------------------------------------------- /test/fixtures/python/bar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/python/bar.txt -------------------------------------------------------------------------------- /test/fixtures/python/foo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/python/foo.py -------------------------------------------------------------------------------- /test/fixtures/ri/BashCompletion/cdesc-BashCompletion.ri: -------------------------------------------------------------------------------- 1 | U:RDoc::NormalModule[iI"BashCompletion:EF@0o:RDoc::Markup::Document: @parts[: 2 | @file0[[[[[I" 3 | class;F[[: public[[:protected[[: private[[I" instance;F[[; 4 | [[; [[; [ -------------------------------------------------------------------------------- /test/fixtures/ri/BashCompletion/cdesc-BashCompletion.yaml: -------------------------------------------------------------------------------- 1 | --- !ruby/object:RI::ClassDescription 2 | attributes: [] 3 | 4 | class_methods: [] 5 | 6 | comment: 7 | constants: [] 8 | 9 | full_name: BashCompletion 10 | includes: [] 11 | 12 | instance_methods: [] 13 | 14 | name: BashCompletion 15 | superclass: 16 | -------------------------------------------------------------------------------- /test/fixtures/ri/bashcompletion.rb: -------------------------------------------------------------------------------- 1 | module BashCompletion 2 | end 3 | -------------------------------------------------------------------------------- /test/fixtures/ri/cache.ri: -------------------------------------------------------------------------------- 1 | { :ancestors{:attributes{:class_methods{: encodingIu: Encoding US-ASCII:EF:instance_methods{: modules[I"BashCompletion; 2 | F -------------------------------------------------------------------------------- /test/fixtures/ri/created.rid: -------------------------------------------------------------------------------- 1 | Mon, 09 Oct 2017 21:45:15 +0000 2 | -------------------------------------------------------------------------------- /test/fixtures/scp/config: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile known_hosts 2 | 3 | # Unindented 4 | Host gee 5 | # Indented, multiple hosts 6 | HostName hus ike 7 | 8 | Host hut 9 | -------------------------------------------------------------------------------- /test/fixtures/scp/known_hosts: -------------------------------------------------------------------------------- 1 | |1|abc 2 | |1|def 3 | doo 4 | ike ssh-rsa qwerty1234/Qwerty+1234== 5 | [blah]:1234 6 | -------------------------------------------------------------------------------- /test/fixtures/scp/spaced conf: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile known_hosts 2 | 3 | # Unindented 4 | Host gee jar 5 | # Indented, multiple hosts 6 | HostName hus 7 | -------------------------------------------------------------------------------- /test/fixtures/sftp/config: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile known_hosts 2 | 3 | # Unindented 4 | Host gee 5 | # Indented, multiple hosts 6 | HostName hus ike 7 | 8 | Host hut 9 | -------------------------------------------------------------------------------- /test/fixtures/sftp/known_hosts: -------------------------------------------------------------------------------- 1 | |1|abc 2 | |1|def 3 | doo 4 | ike ssh-rsa qwerty1234/Qwerty+1234== 5 | [10.10.10.10]:2222 6 | -------------------------------------------------------------------------------- /test/fixtures/sftp/spaced conf: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile known_hosts 2 | 3 | # Unindented 4 | Host gee jar 5 | # Indented, multiple hosts 6 | HostName hus 7 | -------------------------------------------------------------------------------- /test/fixtures/sha256sum/foo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/sha256sum/foo -------------------------------------------------------------------------------- /test/fixtures/sha256sum/foo.sha256: -------------------------------------------------------------------------------- 1 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 foo 2 | -------------------------------------------------------------------------------- /test/fixtures/shared/.ssh/known_hosts: -------------------------------------------------------------------------------- 1 | bash-completion-canary-host.local 2 | -------------------------------------------------------------------------------- /test/fixtures/shared/default/bar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/default/bar -------------------------------------------------------------------------------- /test/fixtures/shared/default/bar bar.d/foo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/default/bar bar.d/foo -------------------------------------------------------------------------------- /test/fixtures/shared/default/foo: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /test/fixtures/shared/default/foo.d/foo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/default/foo.d/foo -------------------------------------------------------------------------------- /test/fixtures/shared/empty_dir/.nothing_here: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/empty_dir/.nothing_here -------------------------------------------------------------------------------- /test/fixtures/shared/ld.so.conf.d/foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/ld.so.conf.d/foo.txt -------------------------------------------------------------------------------- /test/fixtures/shared/ld.so.conf.d/libfoo.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/ld.so.conf.d/libfoo.conf -------------------------------------------------------------------------------- /test/fixtures/shared/ld.so.conf.d/libfoo.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/ld.so.conf.d/libfoo.so -------------------------------------------------------------------------------- /test/fixtures/shared/ld.so.conf.d/libfoo.so.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/shared/ld.so.conf.d/libfoo.so.1 -------------------------------------------------------------------------------- /test/fixtures/shells/etc/shells: -------------------------------------------------------------------------------- 1 | # /etc/shells: valid login shells 2 | /bash/completion/canary 3 | -------------------------------------------------------------------------------- /test/fixtures/slackware/home/abc-4-i686-1.txz: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/slackware/home/opq-1.0-2.i386.rpm: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/slackware/home/tcl.d/tcl.tgz: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/ssh-copy-id/.ssh/id_rsa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/ssh-copy-id/.ssh/id_rsa -------------------------------------------------------------------------------- /test/fixtures/ssh-copy-id/.ssh/id_rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa meh comment 2 | -------------------------------------------------------------------------------- /test/fixtures/ssh/config: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile known_hosts 2 | -------------------------------------------------------------------------------- /test/fixtures/ssh/known_hosts: -------------------------------------------------------------------------------- 1 | |1|abc 2 | |1|def 3 | doo 4 | ike ssh-rsa qwerty1234/Qwerty+1234== 5 | ls_known_host 6 | -------------------------------------------------------------------------------- /test/fixtures/ssh/spaced conf: -------------------------------------------------------------------------------- 1 | UserKnownHostsFile known_hosts 2 | 3 | # Unindented 4 | Host gee jar 5 | # Indented, multiple hosts 6 | HostName hus 7 | -------------------------------------------------------------------------------- /test/fixtures/tar/dir/fileA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/tar/dir/fileA -------------------------------------------------------------------------------- /test/fixtures/tar/dir/fileB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/tar/dir/fileB -------------------------------------------------------------------------------- /test/fixtures/tar/dir/fileC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/tar/dir/fileC -------------------------------------------------------------------------------- /test/fixtures/tar/dir/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/tar/dir/hello -------------------------------------------------------------------------------- /test/fixtures/tar/dir2/.nothing_here: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/tar/dir2/.nothing_here -------------------------------------------------------------------------------- /test/fixtures/tox/tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = py37 3 | 4 | [testenv] 5 | deps = pytest 6 | commands = pytest 7 | -------------------------------------------------------------------------------- /test/fixtures/xz/a/b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/xz/a/b -------------------------------------------------------------------------------- /test/fixtures/xz/bashcomp.lzma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/xz/bashcomp.lzma -------------------------------------------------------------------------------- /test/fixtures/xz/bashcomp.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/xz/bashcomp.tar -------------------------------------------------------------------------------- /test/fixtures/xz/bashcomp.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/xz/bashcomp.tar.xz -------------------------------------------------------------------------------- /test/fixtures/xz/bashcomp.tlz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/xz/bashcomp.tlz -------------------------------------------------------------------------------- /test/fixtures/xz/bashcomp.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scop/bash-completion/721fa87c9c4ed5f2be8e890948f351f07731dcbb/test/fixtures/xz/bashcomp.xz -------------------------------------------------------------------------------- /test/requirements-dev.txt: -------------------------------------------------------------------------------- 1 | # Python >= 3.7 required here 2 | 3 | -r requirements.txt 4 | 5 | mypy==1.8.0 6 | ruff==0.11.7 7 | -------------------------------------------------------------------------------- /test/requirements.txt: -------------------------------------------------------------------------------- 1 | # Python >= 3.6 required here 2 | 3 | pexpect>=4 4 | pytest>=3.6 5 | pytest-xdist 6 | -------------------------------------------------------------------------------- /test/setup.cfg: -------------------------------------------------------------------------------- 1 | [tool:pytest] 2 | minversion = 3.6 3 | markers = 4 | bashcomp 5 | complete 6 | 7 | [mypy] 8 | python_version = 3.6 9 | mypy_path = $MYPY_CONFIG_FILE_DIR/t 10 | show_error_codes = true 11 | enable_error_code = ignore-without-code,redundant-self,truthy-iterable 12 | -------------------------------------------------------------------------------- /test/t/test_2to3.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class Test2to3: 5 | @pytest.mark.complete("2to3 ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("2to3 -", require_longopt=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_a2ps.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestA2ps: 5 | @pytest.mark.complete("a2ps ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("a2ps -", require_cmd=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_a2x.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestA2x: 5 | @pytest.mark.complete("a2x ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("a2x -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_abook.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAbook: 5 | @pytest.mark.complete("abook -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_aclocal.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAclocal: 5 | @pytest.mark.complete("aclocal ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("aclocal -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_acpi.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAcpi: 5 | @pytest.mark.complete("acpi -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_acroread.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAcroread: 5 | @pytest.mark.complete("acroread ", cwd="acroread") 6 | def test_1(self, completion): 7 | assert completion == "foo.d/ t.pdf".split() 8 | -------------------------------------------------------------------------------- /test/t/test_adb.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAdb: 5 | @pytest.mark.complete("adb ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("adb -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_add_members.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAddMembers: 5 | @pytest.mark.complete("add_members -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_alpine.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAlpine: 5 | @pytest.mark.complete("alpine -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_animate.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAnimate: 5 | @pytest.mark.complete("animate ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_apache2ctl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestApache2ctl: 5 | @pytest.mark.complete("apache2ctl ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_apt_build.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="apt-build") 5 | class TestAptBuild: 6 | @pytest.mark.complete("apt-build ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_arch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestArch: 6 | @pytest.mark.complete("arch -", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_arping.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestArping: 5 | @pytest.mark.complete("arping ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("arping -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_asciidoc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAsciidoc: 5 | @pytest.mark.complete("asciidoc ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("asciidoc -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_aspell.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAspell: 5 | @pytest.mark.complete("aspell ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_autoconf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutoconf: 5 | @pytest.mark.complete("autoconf ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_autoheader.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutoheader: 5 | @pytest.mark.complete("autoheader ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_automake.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutomake: 5 | @pytest.mark.complete("automake ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("automake -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_autoreconf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutoreconf: 5 | @pytest.mark.complete("autoreconf ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_autorpm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutorpm: 5 | @pytest.mark.complete("autorpm ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_autoscan.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutoscan: 5 | @pytest.mark.complete("autoscan ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("autoscan -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_autossh.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutossh: 5 | @pytest.mark.complete("autossh -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_autoupdate.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAutoupdate: 5 | @pytest.mark.complete("autoupdate ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_avctrl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAvctrl: 5 | @pytest.mark.complete("avctrl ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_awk.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestAwk: 5 | @pytest.mark.complete("awk ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("awk -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_b2sum.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestB2sum: 5 | @pytest.mark.complete("b2sum ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("b2sum --", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_bash.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBash: 5 | @pytest.mark.complete("bash --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_bc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBc: 5 | @pytest.mark.complete("bc --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_bind.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBind: 5 | @pytest.mark.complete("bind -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("bind k") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_bison.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBison: 5 | @pytest.mark.complete("bison --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_bk.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBk: 5 | @pytest.mark.complete("bk ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_bmake.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBmake: 5 | @pytest.mark.complete("bmake -", require_cmd=True) 6 | def test_options(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_brctl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBrctl: 5 | @pytest.mark.complete("brctl ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_btdownloadcurses_py.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="btdownloadcurses.py") 5 | class TestBtdownloadcursesPy: 6 | @pytest.mark.complete("btdownloadcurses.py ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_btdownloadgui_py.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="btdownloadgui.py") 5 | class TestBtdownloadguiPy: 6 | @pytest.mark.complete("btdownloadgui.py ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_btdownloadheadless_py.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="btdownloadheadless.py") 5 | class TestBtdownloadheadlessPy: 6 | @pytest.mark.complete("btdownloadheadless.py ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_bts.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestBts: 5 | @pytest.mark.complete("bts ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("bts -") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_cal.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCal: 5 | @pytest.mark.complete("cal ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("cal -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_cardctl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCardctl: 5 | @pytest.mark.complete("cardctl ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cat.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCat: 5 | @pytest.mark.complete("cat ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("cat -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_cc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCc: 5 | @pytest.mark.complete("cc ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cdrecord.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCdrecord: 5 | @pytest.mark.complete("cdrecord -d") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cfagent.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCfagent: 5 | @pytest.mark.complete("cfagent -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cfrun.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCfrun: 5 | @pytest.mark.complete("cfrun -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_chage.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestChage: 5 | @pytest.mark.complete("chage ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("chage -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_change_pw.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestChangePw: 6 | @pytest.mark.complete("change_pw -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_check_db.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCheckDb: 5 | @pytest.mark.complete("check_db -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_check_perms.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCheckPerms: 5 | @pytest.mark.complete("check_perms -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_checksec.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestChecksec: 5 | @pytest.mark.complete("checksec -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_chfn.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestChfn: 5 | @pytest.mark.complete("chfn ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_chgrp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestChgrp: 5 | @pytest.mark.complete("chgrp ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_chpasswd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestChpasswd: 5 | @pytest.mark.complete("chpasswd -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_chrpath.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestChrpath: 5 | @pytest.mark.complete("chrpath ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("chrpath -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_ci.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCi: 5 | @pytest.mark.complete("ci ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ciptool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCiptool: 5 | @pytest.mark.complete("ciptool ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_civclient.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCivclient: 5 | @pytest.mark.complete("civclient -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_civserver.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCivserver: 5 | @pytest.mark.complete("civserver -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cksfv.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCksfv: 5 | @pytest.mark.complete("cksfv -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cleanarch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestCleanarch: 6 | @pytest.mark.complete("cleanarch -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_clisp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestClisp: 5 | @pytest.mark.complete("clisp ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_clone_member.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCloneMember: 5 | @pytest.mark.complete("clone_member -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_co.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCo: 5 | @pytest.mark.complete("co ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_compare.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCompare: 5 | @pytest.mark.complete("compare ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_compgen.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCompgen: 5 | @pytest.mark.complete(r"compgen -f a\'b/", cwd="compgen") 6 | def test_1(self, completion): 7 | assert not completion 8 | -------------------------------------------------------------------------------- /test/t/test_complete.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestComplete: 5 | @pytest.mark.complete("complete -") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete(r"\complete -") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_composite.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestComposite: 5 | @pytest.mark.complete("composite ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_config_list.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestConfigList: 5 | @pytest.mark.complete("config_list -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_conjure.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestConjure: 5 | @pytest.mark.complete("conjure ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cowsay.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCowsay: 5 | @pytest.mark.complete("cowsay ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCp: 5 | @pytest.mark.complete("cp ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("cp -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_cpan2dist.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCpan2dist: 5 | @pytest.mark.complete("cpan2dist -", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_cplusplus.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="c++") 5 | class TestCPlusPlus: 6 | @pytest.mark.complete("c++ ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_cut.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestCut: 5 | @pytest.mark.complete("cut ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("cut -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_date.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDate: 5 | @pytest.mark.complete("date ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("date -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_dcop.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDcop: 5 | @pytest.mark.complete( 6 | "dcop ", require_cmd=True, skipif="! dcop &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_dd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDd: 5 | @pytest.mark.complete("dd --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("dd bs") 10 | def test_2(self, completion): 11 | assert completion == "=" 12 | -------------------------------------------------------------------------------- /test/t/test_df.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDf: 5 | @pytest.mark.complete("df ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("df -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_dfutool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDfutool: 5 | @pytest.mark.complete("dfutool ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_dhclient.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDhclient: 5 | @pytest.mark.complete("dhclient -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_diff.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDiff: 5 | @pytest.mark.complete("diff --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_dir.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDir: 5 | @pytest.mark.complete("dir ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("dir -", require_cmd=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_display.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDisplay: 5 | @pytest.mark.complete("display ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("display -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_dnsspoof.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDnsspoof: 5 | @pytest.mark.complete("dnsspoof -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_dpkg_reconfigure.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="dpkg-reconfigure") 5 | class TestDpkgReconfigure: 6 | @pytest.mark.complete("dpkg-reconfigure --") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_dpkg_source.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="dpkg-source") 5 | class TestDpkgSource: 6 | @pytest.mark.complete("dpkg-source -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_dropuser.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDropuser: 5 | @pytest.mark.complete("dropuser ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_dselect.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDselect: 5 | @pytest.mark.complete("dselect ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("dselect -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_dsniff.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDsniff: 5 | @pytest.mark.complete("dsniff -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_du.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDu: 5 | @pytest.mark.complete("du ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("du -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_dumpdb.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestDumpdb: 6 | @pytest.mark.complete("dumpdb ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_dumpe2fs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestDumpe2fs: 5 | @pytest.mark.complete("dumpe2fs ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("dumpe2fs -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_e2label.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestE2label: 5 | @pytest.mark.complete("e2label ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ebtables.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestEbtables: 5 | @pytest.mark.complete("ebtables -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_eject.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestEject: 5 | @pytest.mark.complete("eject -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_enscript.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestEnscript: 5 | @pytest.mark.complete("enscript --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_eog.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestEog: 5 | @pytest.mark.complete("eog ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("eog -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_etherwake.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestEtherwake: 5 | @pytest.mark.complete("etherwake -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_expand.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestExpand: 5 | @pytest.mark.complete("expand --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_faillog.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFaillog: 5 | @pytest.mark.complete("faillog -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_fbgs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFbgs: 5 | @pytest.mark.complete("fbgs ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_fbi.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFbi: 5 | @pytest.mark.complete("fbi ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_file.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFile: 5 | @pytest.mark.complete("file ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("file -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_file_roller.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="file-roller") 5 | class TestFileRoller: 6 | @pytest.mark.complete("file-roller ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_filefrag.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFilefrag: 5 | @pytest.mark.complete("filefrag ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("filefrag -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_filesnarf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFilesnarf: 5 | @pytest.mark.complete("filesnarf -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_find_member.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFindMember: 5 | @pytest.mark.complete("find_member -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_fmt.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFmt: 5 | @pytest.mark.complete( 6 | "fmt -", require_cmd=True, xfail="! fmt --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_fold.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFold: 5 | @pytest.mark.complete("fold --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_fprintd_delete.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp( 5 | cmd="fprintd-delete", 6 | ) 7 | class TestFprintdDelete: 8 | @pytest.mark.complete("fprintd-delete ") 9 | def test_basic(self, completion): 10 | assert completion 11 | -------------------------------------------------------------------------------- /test/t/test_fprintd_list.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp( 5 | cmd="fprintd-list", 6 | ) 7 | class TestFprintdList: 8 | @pytest.mark.complete("fprintd-list ") 9 | def test_basic(self, completion): 10 | assert completion 11 | -------------------------------------------------------------------------------- /test/t/test_free.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFree: 5 | @pytest.mark.complete("free ") 6 | def test_basic(self, completion): 7 | assert not completion 8 | 9 | @pytest.mark.complete("free -", require_cmd=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_freebsd_update.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="freebsd-update") 5 | class TestFreebsdUpdate: 6 | @pytest.mark.complete("freebsd-update ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_freeciv.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestFreeciv: 5 | @pytest.mark.complete("freeciv -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_freeciv_server.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="freeciv-server") 5 | class TestFreecivServer: 6 | @pytest.mark.complete("freeciv-server -", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_g4.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestG4: 5 | @pytest.mark.complete("g4 ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_g77.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestG77: 5 | @pytest.mark.complete("g77 ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gcj.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGcj: 5 | @pytest.mark.complete("gcj ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gcl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGcl: 5 | @pytest.mark.complete("gcl ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_genaliases.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestGenaliases: 6 | @pytest.mark.complete("genaliases -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_gendiff.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGendiff: 5 | @pytest.mark.complete("gendiff ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_geoiplookup.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGeoiplookup: 5 | @pytest.mark.complete("geoiplookup -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gkrellm.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | import pytest 4 | 5 | 6 | @pytest.mark.xfail(not os.environ.get("DISPLAY"), reason="X display required") 7 | class TestGkrellm: 8 | @pytest.mark.complete("gkrellm -", require_cmd=True) 9 | def test_1(self, completion): 10 | assert completion 11 | -------------------------------------------------------------------------------- /test/t/test_gmplayer.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGmplayer: 5 | @pytest.mark.complete("gmplayer ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gnatmake.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGnatmake: 5 | @pytest.mark.complete("gnatmake ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gnome_screenshot.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="gnome-screenshot") 5 | class TestGnomeScreenshot: 6 | @pytest.mark.complete("gnome-screenshot --help", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_gpasswd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGpasswd: 5 | @pytest.mark.complete("gpasswd ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("gpasswd -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_gpc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGpc: 5 | @pytest.mark.complete("gpc ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gperf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGperf: 5 | @pytest.mark.complete("gperf --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gpg.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGpg: 5 | @pytest.mark.complete("gpg ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gpg2.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGpg2: 5 | @pytest.mark.complete("gpg2 --h", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gphoto2.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGphoto2: 5 | @pytest.mark.complete("gphoto2 --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_gplusplus.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="g++") 5 | class TestGPlusPlus: 6 | @pytest.mark.complete("g++ ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_gprof.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGprof: 5 | @pytest.mark.complete("gprof --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_groupdel.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGroupdel: 5 | @pytest.mark.complete("groupdel ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("groupdel -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_groupmems.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGroupmems: 5 | @pytest.mark.complete("groupmems -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_groupmod.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGroupmod: 5 | @pytest.mark.complete("groupmod ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("groupmod -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_growisofs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGrowisofs: 5 | @pytest.mark.complete("growisofs ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_grpck.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGrpck: 5 | @pytest.mark.complete("grpck ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("grpck -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_grub.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestGrub: 5 | @pytest.mark.complete("grub --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hciattach.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHciattach: 5 | @pytest.mark.complete("hciattach ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hciconfig.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHciconfig: 5 | @pytest.mark.complete("hciconfig ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hcitool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHcitool: 5 | @pytest.mark.complete("hcitool ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("hcitool -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_hddtemp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHddtemp: 5 | @pytest.mark.complete("hddtemp -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_head.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHead: 5 | @pytest.mark.complete("head --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hexdump.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHexdump: 5 | @pytest.mark.complete("hexdump -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hid2hci.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/lib/udev:$PATH",)) 5 | class TestHid2hci: 6 | @pytest.mark.complete("hid2hci -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_host.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHost: 5 | @pytest.mark.complete("host -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hostname.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHostname: 5 | @pytest.mark.complete("hostname -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hping2.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHping2: 5 | @pytest.mark.complete("hping2 ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("hping2 -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_hping3.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHping3: 5 | @pytest.mark.complete("hping3 ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_htop.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHtop: 5 | @pytest.mark.complete("htop -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_hunspell.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHunspell: 5 | @pytest.mark.complete("hunspell ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("hunspell -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_hwclock.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestHwclock: 5 | @pytest.mark.complete("hwclock -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_id.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestId: 5 | @pytest.mark.complete("id -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_identify.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIdentify: 5 | @pytest.mark.complete("identify -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_idn.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIdn: 5 | @pytest.mark.complete("idn -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_import.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestImport: 5 | @pytest.mark.complete("import ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_inject.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestInject: 6 | @pytest.mark.complete("inject ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_insmod.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestInsmod: 5 | @pytest.mark.complete("insmod ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ionice.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIonice: 5 | @pytest.mark.complete("ionice -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ipsec.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIpsec: 5 | @pytest.mark.complete("ipsec ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_iptables.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIptables: 5 | @pytest.mark.complete("iptables -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_irb.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIrb: 5 | @pytest.mark.complete("irb ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("irb -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_iscsiadm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIscsiadm: 5 | @pytest.mark.complete("iscsiadm --mod") 6 | def test_1(self, completion): 7 | assert completion == "e" or "--mode" in completion 8 | -------------------------------------------------------------------------------- /test/t/test_isort.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIsort: 5 | @pytest.mark.complete("isort ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("isort -", require_longopt=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_isql.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("ODBCINI=isql/odbc.ini",)) 5 | class TestIsql: 6 | @pytest.mark.complete("isql ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_iwconfig.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIwconfig: 5 | @pytest.mark.complete("iwconfig --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_iwlist.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIwlist: 5 | @pytest.mark.complete("iwlist --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_iwpriv.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIwpriv: 5 | @pytest.mark.complete("iwpriv --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_iwspy.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestIwspy: 5 | @pytest.mark.complete("iwspy --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_jar.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestJar: 5 | @pytest.mark.complete("jar ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_jarsigner.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestJarsigner: 5 | @pytest.mark.complete("jarsigner ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_jps.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestJps: 5 | @pytest.mark.complete("jps -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_jshint.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestJshint: 5 | @pytest.mark.complete("jshint ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("jshint -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_json_xs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestJsonXs: 5 | @pytest.mark.complete("json_xs ") 6 | def test_1(self, completion): 7 | assert not completion 8 | 9 | @pytest.mark.complete("json_xs -") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_k3b.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestK3b: 5 | @pytest.mark.complete("k3b ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("k3b -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_kldload.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestKldload: 5 | @pytest.mark.complete("kldload ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_kplayer.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestKplayer: 5 | @pytest.mark.complete("kplayer ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ktutil.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestKtutil: 5 | @pytest.mark.complete("ktutil ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("ktutil -") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_l2ping.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestL2ping: 5 | @pytest.mark.complete("l2ping -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_larch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLarch: 5 | @pytest.mark.complete("larch library-") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_lastlog.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLastlog: 5 | @pytest.mark.complete("lastlog -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ld.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLd: 5 | @pytest.mark.complete("ld ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("ld -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_ldapadd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdapadd: 5 | @pytest.mark.complete("ldapadd -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ldapcompare.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdapcompare: 5 | @pytest.mark.complete("ldapcompare -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ldapdelete.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdapdelete: 5 | @pytest.mark.complete("ldapdelete -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ldapmodrdn.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdapmodrdn: 5 | @pytest.mark.complete("ldapmodrdn -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ldappasswd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdappasswd: 5 | @pytest.mark.complete("ldappasswd -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ldapsearch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdapsearch: 5 | @pytest.mark.complete("ldapsearch -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ldapvi.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdapvi: 5 | @pytest.mark.complete("ldapvi -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ldapwhoami.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLdapwhoami: 5 | @pytest.mark.complete("ldapwhoami -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_lftpget.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLftpget: 5 | @pytest.mark.complete("lftpget -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_links.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLinks: 5 | @pytest.mark.complete("links ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("links -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_lintian.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLintian: 5 | @pytest.mark.complete("lintian --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_lisp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLisp: 5 | @pytest.mark.complete("lisp ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_list_admins.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestListAdmins: 5 | @pytest.mark.complete("list_admins -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_list_lists.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestListLists: 5 | @pytest.mark.complete("list_lists -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_list_members.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestListMembers: 5 | @pytest.mark.complete("list_members -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_list_owners.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestListOwners: 6 | @pytest.mark.complete("list_owners -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_ln.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLn: 5 | @pytest.mark.complete("ln ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("ln -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_lpq.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLpq: 5 | @pytest.mark.complete("lpq ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_lpr.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLpr: 5 | @pytest.mark.complete("lpr ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_lsof.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLsof: 5 | @pytest.mark.complete("lsof ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("lsof -") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_lsusb.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLsusb: 5 | @pytest.mark.complete( 6 | "lsusb -", 7 | xfail="! (lsusb --help 2>&1 || :) | command grep -qF -- --help", 8 | ) 9 | def test_1(self, completion): 10 | assert completion 11 | -------------------------------------------------------------------------------- /test/t/test_lua.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLua: 5 | @pytest.mark.complete("lua ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("lua -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_luac.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLuac: 5 | @pytest.mark.complete("luac ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("luac -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_luseradd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLuseradd: 5 | @pytest.mark.complete("luseradd -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_lusermod.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLusermod: 5 | @pytest.mark.complete("lusermod ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_lvchange.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvchange: 5 | @pytest.mark.complete( 6 | "lvchange --", require_cmd=True, xfail="! lvchange --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvcreate.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvcreate: 5 | @pytest.mark.complete( 6 | "lvcreate --", require_cmd=True, xfail="! lvcreate --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvdisplay.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvdisplay: 5 | @pytest.mark.complete( 6 | "lvdisplay --", 7 | require_cmd=True, 8 | xfail="! lvdisplay --help &>/dev/null", 9 | ) 10 | def test_1(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_lvextend.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvextend: 5 | @pytest.mark.complete( 6 | "lvextend --", require_cmd=True, xfail="! lvextend --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvmdiskscan.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvmdiskscan: 5 | @pytest.mark.complete( 6 | "lvmdiskscan --", 7 | require_cmd=True, 8 | xfail="! lvmdiskscan --help &>/dev/null", 9 | ) 10 | def test_1(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_lvreduce.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvreduce: 5 | @pytest.mark.complete( 6 | "lvreduce --", require_cmd=True, xfail="! lvreduce --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvremove.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvremove: 5 | @pytest.mark.complete( 6 | "lvremove --", require_cmd=True, xfail="! lvremove --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvrename.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvrename: 5 | @pytest.mark.complete( 6 | "lvrename --", require_cmd=True, xfail="! lvrename --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvresize.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvresize: 5 | @pytest.mark.complete( 6 | "lvresize --", require_cmd=True, xfail="! lvresize --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvs: 5 | @pytest.mark.complete( 6 | "lvs --", require_cmd=True, xfail="! lvs --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lvscan.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLvscan: 5 | @pytest.mark.complete( 6 | "lvscan --", require_cmd=True, xfail="! lvscan --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_lzip.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLzip: 5 | @pytest.mark.complete("lzip ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("lzip -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_lzop.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestLzop: 5 | @pytest.mark.complete("lzop ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("lzop ~") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_m4.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestM4: 5 | @pytest.mark.complete( 6 | "m4 --", require_cmd=True, xfail="! m4 --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_macof.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMacof: 5 | @pytest.mark.complete("macof -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mailmanctl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PATH=/usr/lib/mailman/bin:$PATH",)) 5 | class TestMailmanctl: 6 | @pytest.mark.complete("mailmanctl ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_mailsnarf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMailsnarf: 5 | @pytest.mark.complete("mailsnarf -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMc: 5 | @pytest.mark.complete("mc -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mdadm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMdadm: 5 | @pytest.mark.complete("mdadm ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mdecrypt.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMdecrypt: 5 | @pytest.mark.complete("mdecrypt ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mdtool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMdtool: 5 | @pytest.mark.complete("mdtool ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_medusa.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMedusa: 5 | @pytest.mark.complete("medusa -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_minicom.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMinicom: 5 | @pytest.mark.complete("minicom -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mkinitrd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMkinitrd: 5 | @pytest.mark.complete("mkinitrd ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mktemp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMktemp: 5 | @pytest.mark.complete("mktemp -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mmsitepass.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMmsitepass: 5 | @pytest.mark.complete("mmsitepass -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_module.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestModule: 5 | @pytest.mark.complete("module ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mogrify.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMogrify: 5 | @pytest.mark.complete("mogrify ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_montage.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMontage: 5 | @pytest.mark.complete("montage ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_msgsnarf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMsgsnarf: 5 | @pytest.mark.complete("msgsnarf -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_msynctool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMsynctool: 5 | @pytest.mark.complete("msynctool ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mtr.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMtr: 5 | @pytest.mark.complete("mtr ") 6 | def test_basic(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mtx.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMtx: 5 | @pytest.mark.complete("mtx ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_munin_run.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="munin-run") 5 | class TestMuninRun: 6 | @pytest.mark.complete("munin-run -", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_munindoc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMunindoc: 5 | # Assume at least munin* available 6 | # require_cmd is not strictly correct here, but... 7 | @pytest.mark.complete("munindoc m", require_cmd=True) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_mussh.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMussh: 5 | @pytest.mark.complete("mussh -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_muttng.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMuttng: 5 | @pytest.mark.complete("muttng -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_mv.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMv: 5 | @pytest.mark.complete("mv ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("mv -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_mysqladmin.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestMysqladmin: 5 | @pytest.mark.complete("mysqladmin -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_nc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNc: 5 | @pytest.mark.complete("nc -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ncftp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNcftp: 5 | @pytest.mark.complete("ncftp ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("ncftp -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_neomutt.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNeomutt: 5 | @pytest.mark.complete("neomutt -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_newgrp.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNewgrp: 5 | @pytest.mark.complete("newgrp ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_newlist.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNewlist: 5 | @pytest.mark.complete("newlist -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ngrep.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNgrep: 5 | @pytest.mark.complete("ngrep -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("ngrep -d ") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_nl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNl: 5 | @pytest.mark.complete("nl ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("nl -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_nm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNm: 5 | @pytest.mark.complete("nm ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("nm -", require_cmd=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_nmcli.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNmcli: 5 | @pytest.mark.complete("nmcli ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_nslookup.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNslookup: 5 | @pytest.mark.complete("nslookup -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ntpdate.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestNtpdate: 5 | @pytest.mark.complete("ntpdate -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_objdump.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestObjdump: 5 | @pytest.mark.complete("objdump ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_od.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestOd: 5 | @pytest.mark.complete("od ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("od -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_oggdec.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestOggdec: 5 | @pytest.mark.complete("oggdec ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("oggdec --", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_opera.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestOpera: 5 | @pytest.mark.complete("opera ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("opera -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_p4.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestP4: 5 | @pytest.mark.complete("p4 ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pack200.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPack200: 5 | @pytest.mark.complete("pack200 ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_passwd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPasswd: 5 | @pytest.mark.complete("passwd ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("passwd -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_patch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPatch: 5 | @pytest.mark.complete("patch ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("patch -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_pine.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPine: 5 | @pytest.mark.complete("pine -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ping.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPing: 5 | @pytest.mark.complete("ping ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("ping -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_pkg_delete.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPkgDelete: 5 | @pytest.mark.complete("pkg_delete ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pkg_get.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="pkg-get") 5 | class TestPkgGet: 6 | @pytest.mark.complete("pkg-get ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_pkg_info.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPkgInfo: 5 | @pytest.mark.complete("pkg_info ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pkgadd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPkgadd: 5 | # require_cmd is not strictly true here, but... 6 | @pytest.mark.complete("pkgadd ", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_pkgrm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPkgrm: 5 | # require_cmd is not strictly true here, but... 6 | @pytest.mark.complete("pkgrm ", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_pkgtool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPkgtool: 5 | @pytest.mark.complete("pkgtool -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pkgutil.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPkgutil: 5 | @pytest.mark.complete("pkgutil ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pkill.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPkill: 5 | @pytest.mark.complete("pkill ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("pkill -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_plague_client.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="plague-client") 5 | class TestPlagueClient: 6 | @pytest.mark.complete("plague-client ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_pm_hibernate.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="pm-hibernate") 5 | class TestPmHibernate: 6 | @pytest.mark.complete("pm-hibernate -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_pm_is_supported.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="pm-is-supported") 5 | class TestPmIsSupported: 6 | @pytest.mark.complete("pm-is-supported -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_pm_powersave.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="pm-powersave") 5 | class TestPmPowersave: 6 | @pytest.mark.complete("pm-powersave ") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_pngfix.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPngfix: 5 | @pytest.mark.complete("pngfix ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("pngfix -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_portsnap.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPortsnap: 5 | @pytest.mark.complete("portsnap ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_portupgrade.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(pre_cmds=("PKG_DBDIR=$PWD/pkgtools/db",)) 5 | class TestPortupgrade: 6 | @pytest.mark.complete("portupgrade ") 7 | def test_1(self, completion): 8 | assert completion == "a b-c-d".split() 9 | -------------------------------------------------------------------------------- /test/t/test_postsuper.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPostsuper: 5 | @pytest.mark.complete("postsuper ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_povray.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPovray: 5 | @pytest.mark.complete("povray ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pr.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPr: 5 | @pytest.mark.complete("pr ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("pr -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_ptx.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPtx: 5 | @pytest.mark.complete("ptx ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("ptx -", require_cmd=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_puppet.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPuppet: 5 | @pytest.mark.complete("puppet ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("puppet agent --") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_pushd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPushd: 5 | @pytest.mark.complete("pushd ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("pushd -") 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_pvchange.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPvchange: 5 | @pytest.mark.complete( 6 | "pvchange --", require_cmd=True, xfail="! pvchange --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_pvcreate.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPvcreate: 5 | @pytest.mark.complete( 6 | "pvcreate --", require_cmd=True, xfail="! pvcreate --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_pvdisplay.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPvdisplay: 5 | @pytest.mark.complete( 6 | "pvdisplay --", 7 | require_cmd=True, 8 | xfail="! pvdisplay --help &>/dev/null", 9 | ) 10 | def test_1(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_pvmove.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPvmove: 5 | @pytest.mark.complete( 6 | "pvmove --", require_cmd=True, xfail="! pvmove --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_pvremove.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPvremove: 5 | @pytest.mark.complete( 6 | "pvremove --", require_cmd=True, xfail="! pvremove --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_pvs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPvs: 5 | @pytest.mark.complete( 6 | "pvs --", require_cmd=True, xfail="! pvs --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_pvscan.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPvscan: 5 | @pytest.mark.complete( 6 | "pvscan --", require_cmd=True, xfail="! pvscan --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_pwck.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPwck: 5 | @pytest.mark.complete("pwck ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("pwck -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_pwd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPwd: 5 | @pytest.mark.complete("pwd -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pwgen.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPwgen: 5 | @pytest.mark.complete("pwgen -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_pyvenv.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestPyvenv: 5 | @pytest.mark.complete("pyvenv ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_qrunner.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestQrunner: 5 | @pytest.mark.complete("qrunner -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_querybts.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestQuerybts: 5 | @pytest.mark.complete("querybts --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_quota.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestQuota: 5 | @pytest.mark.complete("quota ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("quota -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_quotacheck.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestQuotacheck: 5 | @pytest.mark.complete("quotacheck -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_quotaon.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestQuotaon: 5 | @pytest.mark.complete("quotaon -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rcs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRcs: 5 | @pytest.mark.complete("rcs ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rcsdiff.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRcsdiff: 5 | @pytest.mark.complete("rcsdiff ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rdesktop.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRdesktop: 5 | @pytest.mark.complete("rdesktop -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rdict.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRdict: 5 | @pytest.mark.complete("rdict --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_readelf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestReadelf: 5 | @pytest.mark.complete("readelf --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_readonly.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestReadonly: 5 | @pytest.mark.complete("readonly BASH_ARG") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_remove_members.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRemoveMembers: 5 | @pytest.mark.complete("remove_members --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_renice.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRenice: 5 | @pytest.mark.complete("renice 1") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("renice -g ") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_reptyr.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestReptyr: 5 | @pytest.mark.complete("reptyr ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("reptyr -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_resolvconf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestResolvconf: 5 | @pytest.mark.complete("resolvconf -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rfcomm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRfcomm: 5 | @pytest.mark.complete("rfcomm ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rfkill.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRfkill: 5 | @pytest.mark.complete("rfkill ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("rfkill -") 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_rlog.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRlog: 5 | @pytest.mark.complete("rlog ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRm: 5 | @pytest.mark.complete("rm ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("rm -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_rmlist.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRmlist: 5 | @pytest.mark.complete("rmlist -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rmmod.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRmmod: 5 | @pytest.mark.complete("rmmod -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_route.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRoute: 5 | @pytest.mark.complete("route ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rpcdebug.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRpcdebug: 5 | @pytest.mark.complete("rpcdebug -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rpmbuild.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRpmbuild: 5 | @pytest.mark.complete("rpmbuild -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_rrdtool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRrdtool: 5 | @pytest.mark.complete("rrdtool ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_runuser.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestRunuser: 5 | @pytest.mark.complete("runuser ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sbcl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSbcl: 5 | @pytest.mark.complete("sbcl shared/default/") 6 | def test_1(self, completion): 7 | assert completion == ["bar", "bar bar.d/", "foo", "foo.d/"] 8 | -------------------------------------------------------------------------------- /test/t/test_sbcl_mt.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="sbcl-mt") 5 | class TestSbclMt: 6 | @pytest.mark.complete("sbcl-mt shared/default/") 7 | def test_1(self, completion): 8 | assert completion == ["bar", "bar bar.d/", "foo", "foo.d/"] 9 | -------------------------------------------------------------------------------- /test/t/test_sbopkg.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSbopkg: 5 | @pytest.mark.complete("sbopkg -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sdptool.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSdptool: 5 | @pytest.mark.complete("sdptool ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sed.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSed: 5 | @pytest.mark.complete("sed --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_seq.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSeq: 5 | @pytest.mark.complete("seq --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sha1sum.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSha1sum: 5 | @pytest.mark.complete("sha1sum --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sha224sum.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSha224sum: 5 | @pytest.mark.complete("sha224sum --", require_longopt=True) 6 | def test_options(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sha384sum.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSha384sum: 5 | @pytest.mark.complete("sha384sum --", require_longopt=True) 6 | def test_options(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sha512sum.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSha512sum: 5 | @pytest.mark.complete("sha512sum --", require_longopt=True) 6 | def test_options(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_shar.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestShar: 5 | @pytest.mark.complete("shar --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sitecopy.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSitecopy: 5 | @pytest.mark.complete("sitecopy --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_slackpkg.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSlackpkg: 5 | @pytest.mark.complete("slackpkg -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smartctl.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmartctl: 5 | @pytest.mark.complete("smartctl --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smbcacls.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmbcacls: 5 | @pytest.mark.complete("smbcacls -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smbclient.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmbclient: 5 | @pytest.mark.complete("smbclient -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smbcquotas.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmbcquotas: 5 | @pytest.mark.complete("smbcquotas -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smbget.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmbget: 5 | @pytest.mark.complete("smbget -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smbpasswd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmbpasswd: 5 | @pytest.mark.complete("smbpasswd -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smbtar.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmbtar: 5 | @pytest.mark.complete("smbtar -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_smbtree.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSmbtree: 5 | @pytest.mark.complete("smbtree -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_snownews.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSnownews: 5 | @pytest.mark.complete("snownews --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sort.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSort: 5 | @pytest.mark.complete("sort --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_split.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSplit: 5 | @pytest.mark.complete("split --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_spovray.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSpovray: 5 | @pytest.mark.complete("spovray ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sshfs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(ignore_env=r"^[+-]_comp_cmd_scp__path_esc=") 5 | class TestSshfs: 6 | @pytest.mark.complete("sshfs ./") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_sshmitm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSshmitm: 5 | @pytest.mark.complete("sshmitm -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sshow.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSshow: 5 | @pytest.mark.complete("sshow -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_strace.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestStrace: 5 | @pytest.mark.complete("strace -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_stream.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestStream: 5 | @pytest.mark.complete("stream ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_strip.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestStrip: 5 | @pytest.mark.complete("strip --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sum.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSum: 5 | @pytest.mark.complete("sum ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("sum --", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_svcadm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSvcadm: 5 | @pytest.mark.complete("svcadm ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_svk.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSvk: 5 | @pytest.mark.complete("svk ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_svn.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSvn: 5 | @pytest.mark.complete("svn ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_svnadmin.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSvnadmin: 5 | @pytest.mark.complete("svnadmin ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_svnlook.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSvnlook: 5 | @pytest.mark.complete("svnlook ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_sync_members.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestSyncMembers: 5 | @pytest.mark.complete("sync_members --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tac.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTac: 5 | @pytest.mark.complete("tac --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tail.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTail: 5 | @pytest.mark.complete("tail --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tcpdump.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTcpdump: 5 | @pytest.mark.complete("tcpdump -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tcpkill.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTcpkill: 5 | @pytest.mark.complete("tcpkill -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tcpnice.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTcpnice: 5 | @pytest.mark.complete("tcpnice -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tee.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTee: 5 | @pytest.mark.complete("tee ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("tee -", require_longopt=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_texindex.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTexindex: 5 | @pytest.mark.complete("texindex --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tightvncviewer.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTightvncviewer: 5 | @pytest.mark.complete("tightvncviewer ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tipc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTipc: 5 | @pytest.mark.complete("tipc ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_totem.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTotem: 5 | @pytest.mark.complete("totem ") 6 | def test_basic(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_touch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTouch: 5 | @pytest.mark.complete("touch --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_tr.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestTr: 5 | @pytest.mark.complete("tr --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_unace.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUnace: 5 | @pytest.mark.complete("unace -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_uname.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUname: 5 | @pytest.mark.complete("uname --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_unexpand.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUnexpand: 5 | @pytest.mark.complete("unexpand --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_uniq.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUniq: 5 | @pytest.mark.complete("uniq --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_units.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUnits: 5 | @pytest.mark.complete( 6 | "units --", require_cmd=True, xfail="! units --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_unpack200.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUnpack200: 5 | @pytest.mark.complete("unpack200 ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_unrar.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUnrar: 5 | @pytest.mark.complete("unrar -") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_unset.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUnset: 5 | @pytest.mark.complete("unset BASH_ARG") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_unshunt.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUnshunt: 5 | @pytest.mark.complete("unshunt --", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_update_rc_d.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="update-rc.d") 5 | class TestUpdateRcD: 6 | @pytest.mark.complete("update-rc.d -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_urlsnarf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUrlsnarf: 5 | @pytest.mark.complete("urlsnarf -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_uscan.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestUscan: 5 | @pytest.mark.complete("uscan -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_vdir.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVdir: 5 | @pytest.mark.complete("vdir ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("vdir -", require_cmd=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_vgcfgbackup.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgcfgbackup: 5 | @pytest.mark.complete( 6 | "vgcfgbackup -", 7 | require_cmd=True, 8 | xfail="! vgcfgbackup --help &>/dev/null", 9 | ) 10 | def test_1(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_vgcfgrestore.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgcfgrestore: 5 | @pytest.mark.complete( 6 | "vgcfgrestore -", 7 | require_cmd=True, 8 | xfail="! vgcfgrestore --help &>/dev/null", 9 | ) 10 | def test_1(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_vgchange.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgchange: 5 | @pytest.mark.complete( 6 | "vgchange -", require_cmd=True, xfail="! vgchange --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgck.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgck: 5 | @pytest.mark.complete( 6 | "vgck -", require_cmd=True, xfail="! vgck --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgconvert.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgconvert: 5 | @pytest.mark.complete( 6 | "vgconvert -", require_cmd=True, xfail="! vgconvert --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgdisplay.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgdisplay: 5 | @pytest.mark.complete( 6 | "vgdisplay -", require_cmd=True, xfail="! vgdisplay --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgexport.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgexport: 5 | @pytest.mark.complete( 6 | "vgexport -", require_cmd=True, xfail="! vgexport --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgextend.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgextend: 5 | @pytest.mark.complete( 6 | "vgextend -", require_cmd=True, xfail="! vgextend --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgimport.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgimport: 5 | @pytest.mark.complete( 6 | "vgimport -", require_cmd=True, xfail="! vgimport --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgmerge.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgmerge: 5 | @pytest.mark.complete( 6 | "vgmerge -", require_cmd=True, xfail="! vgmerge --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgmknodes.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgmknodes: 5 | @pytest.mark.complete( 6 | "vgmknodes -", require_cmd=True, xfail="! vgmknodes --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgreduce.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgreduce: 5 | @pytest.mark.complete( 6 | "vgreduce -", require_cmd=True, xfail="! vgreduce --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgremove.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgremove: 5 | @pytest.mark.complete( 6 | "vgremove -", require_cmd=True, xfail="! vgremove --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgrename.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgrename: 5 | @pytest.mark.complete( 6 | "vgrename -", require_cmd=True, xfail="! vgrename --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgs.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgs: 5 | @pytest.mark.complete( 6 | "vgs -", require_cmd=True, xfail="! vgs --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgscan.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgscan: 5 | @pytest.mark.complete( 6 | "vgscan -", require_cmd=True, xfail="! vgscan --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vgsplit.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVgsplit: 5 | @pytest.mark.complete( 6 | "vgsplit -", require_cmd=True, xfail="! vgsplit --help &>/dev/null" 7 | ) 8 | def test_1(self, completion): 9 | assert completion 10 | -------------------------------------------------------------------------------- /test/t/test_vmstat.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestVmstat: 5 | @pytest.mark.complete("vmstat -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_vncviewer.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp( 5 | ignore_env=r"^-declare -f _comp_cmd_vncviewer__bootstrap$" 6 | ) 7 | class TestVncviewer: 8 | @pytest.mark.complete("vncviewer ") 9 | def test_1(self, completion): 10 | assert completion 11 | -------------------------------------------------------------------------------- /test/t/test_watch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWatch: 5 | @pytest.mark.complete("watch -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_wc.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWc: 5 | @pytest.mark.complete("wc --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_webmitm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWebmitm: 5 | @pytest.mark.complete("webmitm -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_who.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWho: 5 | @pytest.mark.complete("who --", require_longopt=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_withlist.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWithlist: 5 | @pytest.mark.complete("withlist --") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_wodim.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWodim: 5 | @pytest.mark.complete("wodim ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_write.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWrite: 5 | @pytest.mark.complete("write roo") 6 | def test_1(self, completion): 7 | assert completion == "t" or "root" in completion 8 | -------------------------------------------------------------------------------- /test/t/test_wtf.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWtf: 5 | # TODO: actually requires an acronym db, not the cmd 6 | @pytest.mark.complete("wtf A", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_wvdial.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestWvdial: 5 | @pytest.mark.complete("wvdial -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_xev.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestXev: 5 | @pytest.mark.complete("xev ") 6 | def test_basic(self, completion): 7 | assert not completion 8 | 9 | @pytest.mark.complete("xev -", require_cmd=True) 10 | def test_options(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_xm.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestXm: 5 | @pytest.mark.complete("xm ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_xpovray.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestXpovray: 5 | @pytest.mark.complete("xpovray ") 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_xrdb.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestXrdb: 5 | @pytest.mark.complete("xrdb ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("xrdb -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_xxd.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestXxd: 5 | @pytest.mark.complete("xxd ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("xxd -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_xzdec.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestXzdec: 5 | @pytest.mark.complete("xzdec ") 6 | def test_1(self, completion): 7 | assert completion 8 | 9 | @pytest.mark.complete("xzdec -", require_cmd=True) 10 | def test_2(self, completion): 11 | assert completion 12 | -------------------------------------------------------------------------------- /test/t/test_ypcat.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestYpcat: 5 | @pytest.mark.complete("ypcat ", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_ypmatch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestYpmatch: 5 | # Actually requires ypcat 6 | @pytest.mark.complete("ypmatch foo ", require_cmd=True) 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /test/t/test_yum.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | class TestYum: 5 | @pytest.mark.complete("yum -", require_cmd=True) 6 | def test_1(self, completion): 7 | assert completion 8 | -------------------------------------------------------------------------------- /test/t/test_yum_arch.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | @pytest.mark.bashcomp(cmd="yum-arch") 5 | class TestYumArch: 6 | @pytest.mark.complete("yum-arch -") 7 | def test_1(self, completion): 8 | assert completion 9 | -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | 2.16.0 2 | --------------------------------------------------------------------------------