summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:18 +0000
commitf2621414ee5f2f601424c22f00e207903e3b6104 (patch)
tree56a856dafd1ca684bb23263cacaa723ee4f404fc /test/fixtures
parentAdding debian version 1:2.11-8. (diff)
downloadbash-completion-f2621414ee5f2f601424c22f00e207903e3b6104.tar.xz
bash-completion-f2621414ee5f2f601424c22f00e207903e3b6104.zip
Merging upstream version 1:2.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/7z/hello.7z.001bin0 -> 100 bytes
-rw-r--r--test/fixtures/7z/hello.7z.002bin0 -> 24 bytes
-rwxr-xr-xtest/fixtures/_command_offset/completer30
-rw-r--r--test/fixtures/_comp_compgen/completions/compgen-cmd119
-rw-r--r--test/fixtures/_comp_compgen/completions/compgen-cmd211
l---------test/fixtures/_comp_load/bin/cmd11
l---------test/fixtures/_comp_load/bin/cmd21
-rwxr-xr-xtest/fixtures/_comp_load/prefix1/bin/cmd11
-rwxr-xr-xtest/fixtures/_comp_load/prefix1/bin/sh1
-rwxr-xr-xtest/fixtures/_comp_load/prefix1/sbin/cmd21
-rw-r--r--test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd12
-rw-r--r--test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd22
-rw-r--r--test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh1
-rw-r--r--test/fixtures/_comp_load/userdir1/completions/cmd12
-rw-r--r--test/fixtures/_comp_load/userdir2/completions/cmd22
-rw-r--r--test/fixtures/_comp_xfunc/completions/xfunc-test112
-rw-r--r--test/fixtures/_comp_xfunc/completions/xfunc-test212
-rw-r--r--test/fixtures/_known_hosts/.ssh/config_asterisk_1 (renamed from test/fixtures/_known_hosts_real/.ssh/config_asterisk_1)0
-rw-r--r--test/fixtures/_known_hosts/.ssh/config_asterisk_2 (renamed from test/fixtures/_known_hosts_real/.ssh/config_asterisk_2)0
-rw-r--r--test/fixtures/_known_hosts/.ssh/config_question_mark (renamed from test/fixtures/_known_hosts_real/.ssh/config_question_mark)0
-rw-r--r--test/fixtures/_known_hosts/.ssh/config_relative_path (renamed from test/fixtures/_known_hosts_real/.ssh/config_relative_path)0
-rw-r--r--test/fixtures/_known_hosts/config9
-rw-r--r--test/fixtures/_known_hosts/config_full_path (renamed from test/fixtures/_known_hosts_real/config_full_path)0
-rw-r--r--test/fixtures/_known_hosts/config_include (renamed from test/fixtures/_known_hosts_real/config_include)4
-rw-r--r--test/fixtures/_known_hosts/config_include_recursion (renamed from test/fixtures/_known_hosts_real/config_include_recursion)0
-rw-r--r--test/fixtures/_known_hosts/config_tilde4
-rw-r--r--test/fixtures/_known_hosts/gee-filename-canary (renamed from test/fixtures/_known_hosts_real/gee-filename-canary)0
-rw-r--r--test/fixtures/_known_hosts/known_hosts (renamed from test/fixtures/_known_hosts_real/known_hosts)0
-rw-r--r--test/fixtures/_known_hosts/known_hosts2 (renamed from test/fixtures/_known_hosts_real/known_hosts2)0
-rw-r--r--test/fixtures/_known_hosts/known_hosts3 (renamed from test/fixtures/_known_hosts_real/known_hosts3)0
-rw-r--r--test/fixtures/_known_hosts/known_hosts4 (renamed from test/fixtures/_known_hosts_real/known_hosts4)0
-rw-r--r--test/fixtures/_known_hosts/localhost_config1
-rw-r--r--test/fixtures/_known_hosts/localhost_hosts (renamed from test/fixtures/_known_hosts_real/localhost_hosts)0
-rw-r--r--test/fixtures/_known_hosts/spaced conf8
-rw-r--r--test/fixtures/_known_hosts/spaced known_hosts (renamed from test/fixtures/_known_hosts_real/spaced known_hosts)0
-rw-r--r--test/fixtures/_known_hosts_real/config7
-rw-r--r--test/fixtures/_known_hosts_real/config_tilde4
-rw-r--r--test/fixtures/_known_hosts_real/localhost_config1
-rw-r--r--test/fixtures/_known_hosts_real/spaced conf8
-rw-r--r--test/fixtures/ant/.gitignore2
-rw-r--r--test/fixtures/ant/imported-build.xml2
-rw-r--r--test/fixtures/apt-mark/example.conf (renamed from test/fixtures/evince/.BMP)0
-rw-r--r--test/fixtures/bsdtar/test.pax (renamed from test/fixtures/evince/.CBR)0
-rw-r--r--test/fixtures/bsdtar/test.rar (renamed from test/fixtures/evince/.CBZ)0
-rw-r--r--test/fixtures/bsdtar/test.shar (renamed from test/fixtures/evince/.DJV)0
-rw-r--r--test/fixtures/dot/test1.gv (renamed from test/fixtures/evince/.DJVU)0
-rw-r--r--test/fixtures/dot/test2.dot (renamed from test/fixtures/evince/.DVI)0
-rw-r--r--test/fixtures/evince/.DVI.gz0
-rw-r--r--test/fixtures/evince/.EPS0
-rw-r--r--test/fixtures/evince/.EPS.BZ20
-rw-r--r--test/fixtures/evince/.EPS.GZ0
-rw-r--r--test/fixtures/evince/.EPS.bz20
-rw-r--r--test/fixtures/evince/.EPS.gz0
-rw-r--r--test/fixtures/evince/.GIF0
-rw-r--r--test/fixtures/evince/.ICO0
-rw-r--r--test/fixtures/evince/.JPEG0
-rw-r--r--test/fixtures/evince/.JPG0
-rw-r--r--test/fixtures/evince/.MIFF0
-rw-r--r--test/fixtures/evince/.PBM0
-rw-r--r--test/fixtures/evince/.PCX0
-rw-r--r--test/fixtures/evince/.PDF0
-rw-r--r--test/fixtures/evince/.PDF.BZ20
-rw-r--r--test/fixtures/evince/.PDF.GZ0
-rw-r--r--test/fixtures/evince/.PDF.bz20
-rw-r--r--test/fixtures/evince/.PDF.gz0
-rw-r--r--test/fixtures/evince/.PGM0
-rw-r--r--test/fixtures/evince/.PNG0
-rw-r--r--test/fixtures/evince/.PNM0
-rw-r--r--test/fixtures/evince/.PPM0
-rw-r--r--test/fixtures/evince/.PS0
-rw-r--r--test/fixtures/evince/.PS.BZ20
-rw-r--r--test/fixtures/evince/.PS.GZ0
-rw-r--r--test/fixtures/evince/.PS.bz20
-rw-r--r--test/fixtures/evince/.PS.gz0
-rw-r--r--test/fixtures/evince/.TGA0
-rw-r--r--test/fixtures/evince/.TIF0
-rw-r--r--test/fixtures/evince/.TIFF0
-rw-r--r--test/fixtures/evince/.XPM0
-rw-r--r--test/fixtures/evince/.XWD0
-rw-r--r--test/fixtures/evince/.bmp0
-rw-r--r--test/fixtures/evince/.cbr0
-rw-r--r--test/fixtures/evince/.cbz0
-rw-r--r--test/fixtures/evince/.djv0
-rw-r--r--test/fixtures/evince/.djvu0
-rw-r--r--test/fixtures/evince/.dvi0
-rw-r--r--test/fixtures/evince/.dvi.BZ20
-rw-r--r--test/fixtures/evince/.dvi.GZ0
-rw-r--r--test/fixtures/evince/.dvi.bz20
-rw-r--r--test/fixtures/evince/.dvi.gz0
-rw-r--r--test/fixtures/evince/.eps0
-rw-r--r--test/fixtures/evince/.eps.BZ20
-rw-r--r--test/fixtures/evince/.eps.GZ0
-rw-r--r--test/fixtures/evince/.eps.bz20
-rw-r--r--test/fixtures/evince/.eps.gz0
-rw-r--r--test/fixtures/evince/.gif0
-rw-r--r--test/fixtures/evince/.ico0
-rw-r--r--test/fixtures/evince/.jpeg0
-rw-r--r--test/fixtures/evince/.jpg0
-rw-r--r--test/fixtures/evince/.miff0
-rw-r--r--test/fixtures/evince/.pbm0
-rw-r--r--test/fixtures/evince/.pcx0
-rw-r--r--test/fixtures/evince/.pdf0
-rw-r--r--test/fixtures/evince/.pdf.BZ20
-rw-r--r--test/fixtures/evince/.pdf.GZ0
-rw-r--r--test/fixtures/evince/.pdf.bz20
-rw-r--r--test/fixtures/evince/.pdf.gz0
-rw-r--r--test/fixtures/evince/.pgm0
-rw-r--r--test/fixtures/evince/.png0
-rw-r--r--test/fixtures/evince/.pnm0
-rw-r--r--test/fixtures/evince/.ppm0
-rw-r--r--test/fixtures/evince/.ps0
-rw-r--r--test/fixtures/evince/.ps.BZ20
-rw-r--r--test/fixtures/evince/.ps.GZ0
-rw-r--r--test/fixtures/evince/.ps.bz20
-rw-r--r--test/fixtures/evince/.ps.gz0
-rw-r--r--test/fixtures/evince/.tga0
-rw-r--r--test/fixtures/evince/.tif0
-rw-r--r--test/fixtures/evince/.tiff0
-rw-r--r--test/fixtures/evince/.txt0
-rw-r--r--test/fixtures/evince/.xpm0
-rw-r--r--test/fixtures/evince/.xwd0
-rw-r--r--test/fixtures/evince/foo/.gitignore0
-rw-r--r--test/fixtures/kdvi/.DVI0
-rw-r--r--test/fixtures/kdvi/.DVI.Z0
-rw-r--r--test/fixtures/kdvi/.DVI.bz20
-rw-r--r--test/fixtures/kdvi/.DVI.gz0
-rw-r--r--test/fixtures/kdvi/.dvi0
-rw-r--r--test/fixtures/kdvi/.dvi.Z0
-rw-r--r--test/fixtures/kdvi/.dvi.bz20
-rw-r--r--test/fixtures/kdvi/.dvi.gz0
-rw-r--r--test/fixtures/kdvi/.txt0
-rw-r--r--test/fixtures/kdvi/foo/.gitignore0
-rw-r--r--test/fixtures/kpdf/.EPS0
-rw-r--r--test/fixtures/kpdf/.PDF0
-rw-r--r--test/fixtures/kpdf/.PS0
-rw-r--r--test/fixtures/kpdf/.eps0
-rw-r--r--test/fixtures/kpdf/.pdf0
-rw-r--r--test/fixtures/kpdf/.ps0
-rw-r--r--test/fixtures/kpdf/.txt0
-rw-r--r--test/fixtures/kpdf/foo/.gitignore0
-rw-r--r--test/fixtures/make/.gitignore2
-rw-r--r--test/fixtures/make/test2/Makefile23
-rw-r--r--test/fixtures/man/man3/bash-completion-zstd-testcase.3head.zstbin0 -> 13 bytes
-rw-r--r--test/fixtures/pkgtools/ports/.gitignore4
-rw-r--r--test/fixtures/python/bar.txt (renamed from test/fixtures/evince/.DVI.BZ2)0
-rw-r--r--test/fixtures/python/foo.py (renamed from test/fixtures/evince/.DVI.GZ)0
-rw-r--r--test/fixtures/sha256sum/foo (renamed from test/fixtures/evince/.DVI.bz2)0
-rw-r--r--test/fixtures/sha256sum/foo.sha2561
-rw-r--r--test/fixtures/shells/etc/shells2
-rwxr-xr-xtest/fixtures/xrandr/xrandr207
150 files changed, 361 insertions, 26 deletions
diff --git a/test/fixtures/7z/hello.7z.001 b/test/fixtures/7z/hello.7z.001
new file mode 100644
index 0000000..029e36f
--- /dev/null
+++ b/test/fixtures/7z/hello.7z.001
Binary files differ
diff --git a/test/fixtures/7z/hello.7z.002 b/test/fixtures/7z/hello.7z.002
new file mode 100644
index 0000000..9d8d081
--- /dev/null
+++ b/test/fixtures/7z/hello.7z.002
Binary files differ
diff --git a/test/fixtures/_command_offset/completer b/test/fixtures/_command_offset/completer
new file mode 100755
index 0000000..8253e6d
--- /dev/null
+++ b/test/fixtures/_command_offset/completer
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+case "${2-}" in
+ b|ba|bar)
+ echo bar
+ ;;
+ cont1*)
+ echo cont10
+ echo cont11\\
+ ;;
+ f|fo|foo)
+ echo foo
+ ;;
+ l)
+ echo line\\
+ echo two
+ echo long
+ ;;
+ li*)
+ echo line\\
+ echo two
+ ;;
+ lo*)
+ echo long
+ ;;
+ *)
+ echo bar
+ echo foo
+ ;;
+esac
diff --git a/test/fixtures/_comp_compgen/completions/compgen-cmd1 b/test/fixtures/_comp_compgen/completions/compgen-cmd1
new file mode 100644
index 0000000..70199ba
--- /dev/null
+++ b/test/fixtures/_comp_compgen/completions/compgen-cmd1
@@ -0,0 +1,19 @@
+# Dummy completion file for _comp_compgen tests -*- shell-script -*-
+
+_comp_xfunc_compgen_cmd1_compgen_generator1() {
+ _comp_compgen -- -W '5foo 6bar 7baz'
+}
+
+_comp_cmd_compgen_cmd1__compgen_generator2() {
+ _comp_compgen -- -W '5abc 6def 7ghi'
+}
+
+_comp_cmd_compgen_cmd1() {
+ local cur prev words cword comp_args
+ _comp_initialize -- "$@" || return
+ _comp_compgen -- -W '012 123 234'
+ _comp_compgen -ai compgen-cmd1 generator2
+} &&
+ complete -F _comp_cmd_compgen_cmd1 compgen-cmd1
+
+# ex: filetype=sh
diff --git a/test/fixtures/_comp_compgen/completions/compgen-cmd2 b/test/fixtures/_comp_compgen/completions/compgen-cmd2
new file mode 100644
index 0000000..6b6255f
--- /dev/null
+++ b/test/fixtures/_comp_compgen/completions/compgen-cmd2
@@ -0,0 +1,11 @@
+# Dummy completion file for _comp_compgen tests -*- shell-script -*-
+
+_comp_cmd_compgen_cmd2() {
+ local cur prev words cword comp_args
+ _comp_initialize -- "$@" || return
+ _comp_compgen -- -W '012 123 234'
+ _comp_compgen -ax compgen-cmd1 generator1
+} &&
+ complete -F _comp_cmd_compgen_cmd2 compgen-cmd2
+
+# ex: filetype=sh
diff --git a/test/fixtures/_comp_load/bin/cmd1 b/test/fixtures/_comp_load/bin/cmd1
new file mode 120000
index 0000000..5e6359b
--- /dev/null
+++ b/test/fixtures/_comp_load/bin/cmd1
@@ -0,0 +1 @@
+../prefix1/bin/cmd1 \ No newline at end of file
diff --git a/test/fixtures/_comp_load/bin/cmd2 b/test/fixtures/_comp_load/bin/cmd2
new file mode 120000
index 0000000..933265d
--- /dev/null
+++ b/test/fixtures/_comp_load/bin/cmd2
@@ -0,0 +1 @@
+../prefix1/sbin/cmd2 \ No newline at end of file
diff --git a/test/fixtures/_comp_load/prefix1/bin/cmd1 b/test/fixtures/_comp_load/prefix1/bin/cmd1
new file mode 100755
index 0000000..8125fcf
--- /dev/null
+++ b/test/fixtures/_comp_load/prefix1/bin/cmd1
@@ -0,0 +1 @@
+echo cmd1
diff --git a/test/fixtures/_comp_load/prefix1/bin/sh b/test/fixtures/_comp_load/prefix1/bin/sh
new file mode 100755
index 0000000..5bc7d46
--- /dev/null
+++ b/test/fixtures/_comp_load/prefix1/bin/sh
@@ -0,0 +1 @@
+echo sh
diff --git a/test/fixtures/_comp_load/prefix1/sbin/cmd2 b/test/fixtures/_comp_load/prefix1/sbin/cmd2
new file mode 100755
index 0000000..8fed03c
--- /dev/null
+++ b/test/fixtures/_comp_load/prefix1/sbin/cmd2
@@ -0,0 +1 @@
+echo cmd2
diff --git a/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd1 b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd1
new file mode 100644
index 0000000..378a6e3
--- /dev/null
+++ b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd1
@@ -0,0 +1,2 @@
+echo 'cmd1: sourced from prefix1'
+complete -C true "$1"
diff --git a/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd2 b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd2
new file mode 100644
index 0000000..167ad62
--- /dev/null
+++ b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/cmd2
@@ -0,0 +1,2 @@
+echo 'cmd2: sourced from prefix1'
+complete -C true "$1"
diff --git a/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh
new file mode 100644
index 0000000..18fe79e
--- /dev/null
+++ b/test/fixtures/_comp_load/prefix1/share/bash-completion/completions/sh
@@ -0,0 +1 @@
+echo 'sh: sourced from prefix1'
diff --git a/test/fixtures/_comp_load/userdir1/completions/cmd1 b/test/fixtures/_comp_load/userdir1/completions/cmd1
new file mode 100644
index 0000000..b26bf1f
--- /dev/null
+++ b/test/fixtures/_comp_load/userdir1/completions/cmd1
@@ -0,0 +1,2 @@
+echo 'cmd1: sourced from userdir1'
+complete -C true "$1"
diff --git a/test/fixtures/_comp_load/userdir2/completions/cmd2 b/test/fixtures/_comp_load/userdir2/completions/cmd2
new file mode 100644
index 0000000..667989b
--- /dev/null
+++ b/test/fixtures/_comp_load/userdir2/completions/cmd2
@@ -0,0 +1,2 @@
+echo 'cmd2: sourced from userdir2'
+complete -C true "$1"
diff --git a/test/fixtures/_comp_xfunc/completions/xfunc-test1 b/test/fixtures/_comp_xfunc/completions/xfunc-test1
new file mode 100644
index 0000000..50a35c0
--- /dev/null
+++ b/test/fixtures/_comp_xfunc/completions/xfunc-test1
@@ -0,0 +1,12 @@
+# Dummy completion file for _comp_xfunc tests -*- shell-script -*-
+
+if declare -F _comp_xfunc_xfunc_test1_utility1 &>/dev/null; then
+ echo "_comp_xfunc_xfunc_test1_utility1 is already defined"
+ return 1
+fi
+
+_comp_xfunc_xfunc_test1_utility1() {
+ printf 'util1['
+ printf '<%s>' "$@"
+ printf ']\n'
+}
diff --git a/test/fixtures/_comp_xfunc/completions/xfunc-test2 b/test/fixtures/_comp_xfunc/completions/xfunc-test2
new file mode 100644
index 0000000..ff847b3
--- /dev/null
+++ b/test/fixtures/_comp_xfunc/completions/xfunc-test2
@@ -0,0 +1,12 @@
+# Dummy completion file for _comp_xfunc tests -*- shell-script -*-
+
+if declare -F _comp_xfunc_non_standard_name &>/dev/null; then
+ echo "_comp_xfunc_non_standard_name is already defined"
+ return 1
+fi
+
+_comp_xfunc_non_standard_name() {
+ printf 'util2['
+ printf '<%s>' "$@"
+ printf ']\n'
+}
diff --git a/test/fixtures/_known_hosts_real/.ssh/config_asterisk_1 b/test/fixtures/_known_hosts/.ssh/config_asterisk_1
index fc09eb0..fc09eb0 100644
--- a/test/fixtures/_known_hosts_real/.ssh/config_asterisk_1
+++ b/test/fixtures/_known_hosts/.ssh/config_asterisk_1
diff --git a/test/fixtures/_known_hosts_real/.ssh/config_asterisk_2 b/test/fixtures/_known_hosts/.ssh/config_asterisk_2
index 42243ad..42243ad 100644
--- a/test/fixtures/_known_hosts_real/.ssh/config_asterisk_2
+++ b/test/fixtures/_known_hosts/.ssh/config_asterisk_2
diff --git a/test/fixtures/_known_hosts_real/.ssh/config_question_mark b/test/fixtures/_known_hosts/.ssh/config_question_mark
index 08e1201..08e1201 100644
--- a/test/fixtures/_known_hosts_real/.ssh/config_question_mark
+++ b/test/fixtures/_known_hosts/.ssh/config_question_mark
diff --git a/test/fixtures/_known_hosts_real/.ssh/config_relative_path b/test/fixtures/_known_hosts/.ssh/config_relative_path
index a7ad4d1..a7ad4d1 100644
--- a/test/fixtures/_known_hosts_real/.ssh/config_relative_path
+++ b/test/fixtures/_known_hosts/.ssh/config_relative_path
diff --git a/test/fixtures/_known_hosts/config b/test/fixtures/_known_hosts/config
new file mode 100644
index 0000000..fad532b
--- /dev/null
+++ b/test/fixtures/_known_hosts/config
@@ -0,0 +1,9 @@
+ UserKnownHostsFile _known_hosts/known_hosts
+
+ # Unindented
+Host *
+ IPQoS none
+Host gee* jar?this-part-we-do-not-complete-at-least-yet
+ HostName %h.example.com
+ # Indented, with = separator
+ Host = hus%%eth0 !negated #not-a-comment
diff --git a/test/fixtures/_known_hosts_real/config_full_path b/test/fixtures/_known_hosts/config_full_path
index a91649b..a91649b 100644
--- a/test/fixtures/_known_hosts_real/config_full_path
+++ b/test/fixtures/_known_hosts/config_full_path
diff --git a/test/fixtures/_known_hosts_real/config_include b/test/fixtures/_known_hosts/config_include
index a1ae763..d68b0d8 100644
--- a/test/fixtures/_known_hosts_real/config_include
+++ b/test/fixtures/_known_hosts/config_include
@@ -1,7 +1,9 @@
-#$HOME set to fixtures/_known_hosts_real in unit test
+#$HOME set to fixtures/_known_hosts in unit test
# Include with full path (recursive one)
Include ~/config_full_path
# Include with relative path
Include config_relative_path
# Include with wildcards, and more than one on same row
Include config_asterisk* config_?uestion_mark
+# Include a directory name. This is a misconfiguration, but ssh ignores it without errors.
+Include ../../_known_hosts
diff --git a/test/fixtures/_known_hosts_real/config_include_recursion b/test/fixtures/_known_hosts/config_include_recursion
index 2777069..2777069 100644
--- a/test/fixtures/_known_hosts_real/config_include_recursion
+++ b/test/fixtures/_known_hosts/config_include_recursion
diff --git a/test/fixtures/_known_hosts/config_tilde b/test/fixtures/_known_hosts/config_tilde
new file mode 100644
index 0000000..93e495b
--- /dev/null
+++ b/test/fixtures/_known_hosts/config_tilde
@@ -0,0 +1,4 @@
+# With quotes and tilde, and =
+UserKnownHostsFile = "~/_known_hosts/known_hosts2"
+# Without quotes, with tilde, and another on the same line
+UserKnownHostsFile ~/_known_hosts/known_hosts3 _known_hosts/known_hosts4
diff --git a/test/fixtures/_known_hosts_real/gee-filename-canary b/test/fixtures/_known_hosts/gee-filename-canary
index e69de29..e69de29 100644
--- a/test/fixtures/_known_hosts_real/gee-filename-canary
+++ b/test/fixtures/_known_hosts/gee-filename-canary
diff --git a/test/fixtures/_known_hosts_real/known_hosts b/test/fixtures/_known_hosts/known_hosts
index 646b5b6..646b5b6 100644
--- a/test/fixtures/_known_hosts_real/known_hosts
+++ b/test/fixtures/_known_hosts/known_hosts
diff --git a/test/fixtures/_known_hosts_real/known_hosts2 b/test/fixtures/_known_hosts/known_hosts2
index 2eb4d4f..2eb4d4f 100644
--- a/test/fixtures/_known_hosts_real/known_hosts2
+++ b/test/fixtures/_known_hosts/known_hosts2
diff --git a/test/fixtures/_known_hosts_real/known_hosts3 b/test/fixtures/_known_hosts/known_hosts3
index 2bdf67a..2bdf67a 100644
--- a/test/fixtures/_known_hosts_real/known_hosts3
+++ b/test/fixtures/_known_hosts/known_hosts3
diff --git a/test/fixtures/_known_hosts_real/known_hosts4 b/test/fixtures/_known_hosts/known_hosts4
index 8510665..8510665 100644
--- a/test/fixtures/_known_hosts_real/known_hosts4
+++ b/test/fixtures/_known_hosts/known_hosts4
diff --git a/test/fixtures/_known_hosts/localhost_config b/test/fixtures/_known_hosts/localhost_config
new file mode 100644
index 0000000..3c6a209
--- /dev/null
+++ b/test/fixtures/_known_hosts/localhost_config
@@ -0,0 +1 @@
+UserKnownHostsFile _known_hosts/localhost_hosts
diff --git a/test/fixtures/_known_hosts_real/localhost_hosts b/test/fixtures/_known_hosts/localhost_hosts
index ff752c2..ff752c2 100644
--- a/test/fixtures/_known_hosts_real/localhost_hosts
+++ b/test/fixtures/_known_hosts/localhost_hosts
diff --git a/test/fixtures/_known_hosts/spaced conf b/test/fixtures/_known_hosts/spaced conf
new file mode 100644
index 0000000..ac0891e
--- /dev/null
+++ b/test/fixtures/_known_hosts/spaced conf
@@ -0,0 +1,8 @@
+
+ # Unindented
+Host gee
+ UserKnownHostsFile "_known_hosts/spaced known_hosts"
+
+ # Indented
+ Host hus #not-a-comment
+ UserKnownHostsFile "_known_hosts/known_hosts2"
diff --git a/test/fixtures/_known_hosts_real/spaced known_hosts b/test/fixtures/_known_hosts/spaced known_hosts
index d54a04d..d54a04d 100644
--- a/test/fixtures/_known_hosts_real/spaced known_hosts
+++ b/test/fixtures/_known_hosts/spaced known_hosts
diff --git a/test/fixtures/_known_hosts_real/config b/test/fixtures/_known_hosts_real/config
deleted file mode 100644
index fe3fb54..0000000
--- a/test/fixtures/_known_hosts_real/config
+++ /dev/null
@@ -1,7 +0,0 @@
- UserKnownHostsFile _known_hosts_real/known_hosts
-
- # Unindented
-Host gee* jar?this-part-we-do-not-complete-at-least-yet
- HostName %h.example.com
- # Indented
- Host hus%%eth0 !negated #not-a-comment
diff --git a/test/fixtures/_known_hosts_real/config_tilde b/test/fixtures/_known_hosts_real/config_tilde
deleted file mode 100644
index 4181aaf..0000000
--- a/test/fixtures/_known_hosts_real/config_tilde
+++ /dev/null
@@ -1,4 +0,0 @@
-# With quotes and tilde
-UserKnownHostsFile "~/_known_hosts_real/known_hosts2"
-# Without quotes, with tilde, and another on the same line
-UserKnownHostsFile ~/_known_hosts_real/known_hosts3 _known_hosts_real/known_hosts4
diff --git a/test/fixtures/_known_hosts_real/localhost_config b/test/fixtures/_known_hosts_real/localhost_config
deleted file mode 100644
index 30b6623..0000000
--- a/test/fixtures/_known_hosts_real/localhost_config
+++ /dev/null
@@ -1 +0,0 @@
-UserKnownHostsFile _known_hosts_real/localhost_hosts
diff --git a/test/fixtures/_known_hosts_real/spaced conf b/test/fixtures/_known_hosts_real/spaced conf
deleted file mode 100644
index 566b92c..0000000
--- a/test/fixtures/_known_hosts_real/spaced conf
+++ /dev/null
@@ -1,8 +0,0 @@
-
- # Unindented
-Host gee
- UserKnownHostsFile "_known_hosts_real/spaced known_hosts"
-
- # Indented
- Host hus #not-a-comment
- UserKnownHostsFile "_known_hosts_real/known_hosts2"
diff --git a/test/fixtures/ant/.gitignore b/test/fixtures/ant/.gitignore
index 3a08258..3e28307 100644
--- a/test/fixtures/ant/.gitignore
+++ b/test/fixtures/ant/.gitignore
@@ -1 +1 @@
-.ant-targets-*.xml
+/.ant-targets-*.xml
diff --git a/test/fixtures/ant/imported-build.xml b/test/fixtures/ant/imported-build.xml
index 0cc438f..df6a5f3 100644
--- a/test/fixtures/ant/imported-build.xml
+++ b/test/fixtures/ant/imported-build.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project default="imported-build" name="bash-completion">
+<project default="imported-build" name="bash-completion-imported">
<target name="imported-build">
<!-- ... -->
</target>
diff --git a/test/fixtures/evince/.BMP b/test/fixtures/apt-mark/example.conf
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.BMP
+++ b/test/fixtures/apt-mark/example.conf
diff --git a/test/fixtures/evince/.CBR b/test/fixtures/bsdtar/test.pax
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.CBR
+++ b/test/fixtures/bsdtar/test.pax
diff --git a/test/fixtures/evince/.CBZ b/test/fixtures/bsdtar/test.rar
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.CBZ
+++ b/test/fixtures/bsdtar/test.rar
diff --git a/test/fixtures/evince/.DJV b/test/fixtures/bsdtar/test.shar
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.DJV
+++ b/test/fixtures/bsdtar/test.shar
diff --git a/test/fixtures/evince/.DJVU b/test/fixtures/dot/test1.gv
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.DJVU
+++ b/test/fixtures/dot/test1.gv
diff --git a/test/fixtures/evince/.DVI b/test/fixtures/dot/test2.dot
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.DVI
+++ b/test/fixtures/dot/test2.dot
diff --git a/test/fixtures/evince/.DVI.gz b/test/fixtures/evince/.DVI.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.DVI.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.EPS b/test/fixtures/evince/.EPS
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.EPS
+++ /dev/null
diff --git a/test/fixtures/evince/.EPS.BZ2 b/test/fixtures/evince/.EPS.BZ2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.EPS.BZ2
+++ /dev/null
diff --git a/test/fixtures/evince/.EPS.GZ b/test/fixtures/evince/.EPS.GZ
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.EPS.GZ
+++ /dev/null
diff --git a/test/fixtures/evince/.EPS.bz2 b/test/fixtures/evince/.EPS.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.EPS.bz2
+++ /dev/null
diff --git a/test/fixtures/evince/.EPS.gz b/test/fixtures/evince/.EPS.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.EPS.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.GIF b/test/fixtures/evince/.GIF
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.GIF
+++ /dev/null
diff --git a/test/fixtures/evince/.ICO b/test/fixtures/evince/.ICO
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ICO
+++ /dev/null
diff --git a/test/fixtures/evince/.JPEG b/test/fixtures/evince/.JPEG
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.JPEG
+++ /dev/null
diff --git a/test/fixtures/evince/.JPG b/test/fixtures/evince/.JPG
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.JPG
+++ /dev/null
diff --git a/test/fixtures/evince/.MIFF b/test/fixtures/evince/.MIFF
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.MIFF
+++ /dev/null
diff --git a/test/fixtures/evince/.PBM b/test/fixtures/evince/.PBM
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PBM
+++ /dev/null
diff --git a/test/fixtures/evince/.PCX b/test/fixtures/evince/.PCX
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PCX
+++ /dev/null
diff --git a/test/fixtures/evince/.PDF b/test/fixtures/evince/.PDF
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PDF
+++ /dev/null
diff --git a/test/fixtures/evince/.PDF.BZ2 b/test/fixtures/evince/.PDF.BZ2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PDF.BZ2
+++ /dev/null
diff --git a/test/fixtures/evince/.PDF.GZ b/test/fixtures/evince/.PDF.GZ
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PDF.GZ
+++ /dev/null
diff --git a/test/fixtures/evince/.PDF.bz2 b/test/fixtures/evince/.PDF.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PDF.bz2
+++ /dev/null
diff --git a/test/fixtures/evince/.PDF.gz b/test/fixtures/evince/.PDF.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PDF.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.PGM b/test/fixtures/evince/.PGM
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PGM
+++ /dev/null
diff --git a/test/fixtures/evince/.PNG b/test/fixtures/evince/.PNG
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PNG
+++ /dev/null
diff --git a/test/fixtures/evince/.PNM b/test/fixtures/evince/.PNM
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PNM
+++ /dev/null
diff --git a/test/fixtures/evince/.PPM b/test/fixtures/evince/.PPM
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PPM
+++ /dev/null
diff --git a/test/fixtures/evince/.PS b/test/fixtures/evince/.PS
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PS
+++ /dev/null
diff --git a/test/fixtures/evince/.PS.BZ2 b/test/fixtures/evince/.PS.BZ2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PS.BZ2
+++ /dev/null
diff --git a/test/fixtures/evince/.PS.GZ b/test/fixtures/evince/.PS.GZ
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PS.GZ
+++ /dev/null
diff --git a/test/fixtures/evince/.PS.bz2 b/test/fixtures/evince/.PS.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PS.bz2
+++ /dev/null
diff --git a/test/fixtures/evince/.PS.gz b/test/fixtures/evince/.PS.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.PS.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.TGA b/test/fixtures/evince/.TGA
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.TGA
+++ /dev/null
diff --git a/test/fixtures/evince/.TIF b/test/fixtures/evince/.TIF
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.TIF
+++ /dev/null
diff --git a/test/fixtures/evince/.TIFF b/test/fixtures/evince/.TIFF
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.TIFF
+++ /dev/null
diff --git a/test/fixtures/evince/.XPM b/test/fixtures/evince/.XPM
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.XPM
+++ /dev/null
diff --git a/test/fixtures/evince/.XWD b/test/fixtures/evince/.XWD
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.XWD
+++ /dev/null
diff --git a/test/fixtures/evince/.bmp b/test/fixtures/evince/.bmp
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.bmp
+++ /dev/null
diff --git a/test/fixtures/evince/.cbr b/test/fixtures/evince/.cbr
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.cbr
+++ /dev/null
diff --git a/test/fixtures/evince/.cbz b/test/fixtures/evince/.cbz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.cbz
+++ /dev/null
diff --git a/test/fixtures/evince/.djv b/test/fixtures/evince/.djv
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.djv
+++ /dev/null
diff --git a/test/fixtures/evince/.djvu b/test/fixtures/evince/.djvu
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.djvu
+++ /dev/null
diff --git a/test/fixtures/evince/.dvi b/test/fixtures/evince/.dvi
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.dvi
+++ /dev/null
diff --git a/test/fixtures/evince/.dvi.BZ2 b/test/fixtures/evince/.dvi.BZ2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.dvi.BZ2
+++ /dev/null
diff --git a/test/fixtures/evince/.dvi.GZ b/test/fixtures/evince/.dvi.GZ
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.dvi.GZ
+++ /dev/null
diff --git a/test/fixtures/evince/.dvi.bz2 b/test/fixtures/evince/.dvi.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.dvi.bz2
+++ /dev/null
diff --git a/test/fixtures/evince/.dvi.gz b/test/fixtures/evince/.dvi.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.dvi.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.eps b/test/fixtures/evince/.eps
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.eps
+++ /dev/null
diff --git a/test/fixtures/evince/.eps.BZ2 b/test/fixtures/evince/.eps.BZ2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.eps.BZ2
+++ /dev/null
diff --git a/test/fixtures/evince/.eps.GZ b/test/fixtures/evince/.eps.GZ
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.eps.GZ
+++ /dev/null
diff --git a/test/fixtures/evince/.eps.bz2 b/test/fixtures/evince/.eps.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.eps.bz2
+++ /dev/null
diff --git a/test/fixtures/evince/.eps.gz b/test/fixtures/evince/.eps.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.eps.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.gif b/test/fixtures/evince/.gif
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.gif
+++ /dev/null
diff --git a/test/fixtures/evince/.ico b/test/fixtures/evince/.ico
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ico
+++ /dev/null
diff --git a/test/fixtures/evince/.jpeg b/test/fixtures/evince/.jpeg
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.jpeg
+++ /dev/null
diff --git a/test/fixtures/evince/.jpg b/test/fixtures/evince/.jpg
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.jpg
+++ /dev/null
diff --git a/test/fixtures/evince/.miff b/test/fixtures/evince/.miff
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.miff
+++ /dev/null
diff --git a/test/fixtures/evince/.pbm b/test/fixtures/evince/.pbm
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pbm
+++ /dev/null
diff --git a/test/fixtures/evince/.pcx b/test/fixtures/evince/.pcx
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pcx
+++ /dev/null
diff --git a/test/fixtures/evince/.pdf b/test/fixtures/evince/.pdf
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pdf
+++ /dev/null
diff --git a/test/fixtures/evince/.pdf.BZ2 b/test/fixtures/evince/.pdf.BZ2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pdf.BZ2
+++ /dev/null
diff --git a/test/fixtures/evince/.pdf.GZ b/test/fixtures/evince/.pdf.GZ
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pdf.GZ
+++ /dev/null
diff --git a/test/fixtures/evince/.pdf.bz2 b/test/fixtures/evince/.pdf.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pdf.bz2
+++ /dev/null
diff --git a/test/fixtures/evince/.pdf.gz b/test/fixtures/evince/.pdf.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pdf.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.pgm b/test/fixtures/evince/.pgm
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pgm
+++ /dev/null
diff --git a/test/fixtures/evince/.png b/test/fixtures/evince/.png
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.png
+++ /dev/null
diff --git a/test/fixtures/evince/.pnm b/test/fixtures/evince/.pnm
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.pnm
+++ /dev/null
diff --git a/test/fixtures/evince/.ppm b/test/fixtures/evince/.ppm
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ppm
+++ /dev/null
diff --git a/test/fixtures/evince/.ps b/test/fixtures/evince/.ps
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ps
+++ /dev/null
diff --git a/test/fixtures/evince/.ps.BZ2 b/test/fixtures/evince/.ps.BZ2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ps.BZ2
+++ /dev/null
diff --git a/test/fixtures/evince/.ps.GZ b/test/fixtures/evince/.ps.GZ
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ps.GZ
+++ /dev/null
diff --git a/test/fixtures/evince/.ps.bz2 b/test/fixtures/evince/.ps.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ps.bz2
+++ /dev/null
diff --git a/test/fixtures/evince/.ps.gz b/test/fixtures/evince/.ps.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.ps.gz
+++ /dev/null
diff --git a/test/fixtures/evince/.tga b/test/fixtures/evince/.tga
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.tga
+++ /dev/null
diff --git a/test/fixtures/evince/.tif b/test/fixtures/evince/.tif
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.tif
+++ /dev/null
diff --git a/test/fixtures/evince/.tiff b/test/fixtures/evince/.tiff
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.tiff
+++ /dev/null
diff --git a/test/fixtures/evince/.txt b/test/fixtures/evince/.txt
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.txt
+++ /dev/null
diff --git a/test/fixtures/evince/.xpm b/test/fixtures/evince/.xpm
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.xpm
+++ /dev/null
diff --git a/test/fixtures/evince/.xwd b/test/fixtures/evince/.xwd
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/.xwd
+++ /dev/null
diff --git a/test/fixtures/evince/foo/.gitignore b/test/fixtures/evince/foo/.gitignore
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/evince/foo/.gitignore
+++ /dev/null
diff --git a/test/fixtures/kdvi/.DVI b/test/fixtures/kdvi/.DVI
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.DVI
+++ /dev/null
diff --git a/test/fixtures/kdvi/.DVI.Z b/test/fixtures/kdvi/.DVI.Z
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.DVI.Z
+++ /dev/null
diff --git a/test/fixtures/kdvi/.DVI.bz2 b/test/fixtures/kdvi/.DVI.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.DVI.bz2
+++ /dev/null
diff --git a/test/fixtures/kdvi/.DVI.gz b/test/fixtures/kdvi/.DVI.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.DVI.gz
+++ /dev/null
diff --git a/test/fixtures/kdvi/.dvi b/test/fixtures/kdvi/.dvi
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.dvi
+++ /dev/null
diff --git a/test/fixtures/kdvi/.dvi.Z b/test/fixtures/kdvi/.dvi.Z
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.dvi.Z
+++ /dev/null
diff --git a/test/fixtures/kdvi/.dvi.bz2 b/test/fixtures/kdvi/.dvi.bz2
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.dvi.bz2
+++ /dev/null
diff --git a/test/fixtures/kdvi/.dvi.gz b/test/fixtures/kdvi/.dvi.gz
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.dvi.gz
+++ /dev/null
diff --git a/test/fixtures/kdvi/.txt b/test/fixtures/kdvi/.txt
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/.txt
+++ /dev/null
diff --git a/test/fixtures/kdvi/foo/.gitignore b/test/fixtures/kdvi/foo/.gitignore
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kdvi/foo/.gitignore
+++ /dev/null
diff --git a/test/fixtures/kpdf/.EPS b/test/fixtures/kpdf/.EPS
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/.EPS
+++ /dev/null
diff --git a/test/fixtures/kpdf/.PDF b/test/fixtures/kpdf/.PDF
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/.PDF
+++ /dev/null
diff --git a/test/fixtures/kpdf/.PS b/test/fixtures/kpdf/.PS
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/.PS
+++ /dev/null
diff --git a/test/fixtures/kpdf/.eps b/test/fixtures/kpdf/.eps
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/.eps
+++ /dev/null
diff --git a/test/fixtures/kpdf/.pdf b/test/fixtures/kpdf/.pdf
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/.pdf
+++ /dev/null
diff --git a/test/fixtures/kpdf/.ps b/test/fixtures/kpdf/.ps
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/.ps
+++ /dev/null
diff --git a/test/fixtures/kpdf/.txt b/test/fixtures/kpdf/.txt
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/.txt
+++ /dev/null
diff --git a/test/fixtures/kpdf/foo/.gitignore b/test/fixtures/kpdf/foo/.gitignore
deleted file mode 100644
index e69de29..0000000
--- a/test/fixtures/kpdf/foo/.gitignore
+++ /dev/null
diff --git a/test/fixtures/make/.gitignore b/test/fixtures/make/.gitignore
index 3d1325c..a9b67f8 100644
--- a/test/fixtures/make/.gitignore
+++ b/test/fixtures/make/.gitignore
@@ -1 +1 @@
-extra_makefile
+/extra_makefile
diff --git a/test/fixtures/make/test2/Makefile b/test/fixtures/make/test2/Makefile
new file mode 100644
index 0000000..835b514
--- /dev/null
+++ b/test/fixtures/make/test2/Makefile
@@ -0,0 +1,23 @@
+# makefile
+
+all: abc/xyz
+.PHONY: abc/xyz
+abc/xyz 123/xaa 123/xbb:
+ mkdir -p $(@:/%=)
+ date > $@
+
+sub1test/bar/alpha sub1test/bar/beta:
+ mkdir -p $(@:/%=)
+ date > $@
+
+sub2test/bar/alpha:
+ mkdir -p $(@:/%=)
+ date > $@
+
+sub3test/bar/alpha sub3test/foo/alpha:
+ mkdir -p $(@:/%=)
+ date > $@
+
+sub4test/bar/alpha sub4test/bar/beta sub4test2/foo/gamma:
+ mkdir -p $(@:/%=)
+ date > $@
diff --git a/test/fixtures/man/man3/bash-completion-zstd-testcase.3head.zst b/test/fixtures/man/man3/bash-completion-zstd-testcase.3head.zst
new file mode 100644
index 0000000..e58c09d
--- /dev/null
+++ b/test/fixtures/man/man3/bash-completion-zstd-testcase.3head.zst
Binary files differ
diff --git a/test/fixtures/pkgtools/ports/.gitignore b/test/fixtures/pkgtools/ports/.gitignore
index 71d2c0c..7925953 100644
--- a/test/fixtures/pkgtools/ports/.gitignore
+++ b/test/fixtures/pkgtools/ports/.gitignore
@@ -1,2 +1,2 @@
-INDEX
-INDEX-5
+/INDEX
+/INDEX-5
diff --git a/test/fixtures/evince/.DVI.BZ2 b/test/fixtures/python/bar.txt
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.DVI.BZ2
+++ b/test/fixtures/python/bar.txt
diff --git a/test/fixtures/evince/.DVI.GZ b/test/fixtures/python/foo.py
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.DVI.GZ
+++ b/test/fixtures/python/foo.py
diff --git a/test/fixtures/evince/.DVI.bz2 b/test/fixtures/sha256sum/foo
index e69de29..e69de29 100644
--- a/test/fixtures/evince/.DVI.bz2
+++ b/test/fixtures/sha256sum/foo
diff --git a/test/fixtures/sha256sum/foo.sha256 b/test/fixtures/sha256sum/foo.sha256
new file mode 100644
index 0000000..26d55dc
--- /dev/null
+++ b/test/fixtures/sha256sum/foo.sha256
@@ -0,0 +1 @@
+e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 foo
diff --git a/test/fixtures/shells/etc/shells b/test/fixtures/shells/etc/shells
new file mode 100644
index 0000000..0d979db
--- /dev/null
+++ b/test/fixtures/shells/etc/shells
@@ -0,0 +1,2 @@
+# /etc/shells: valid login shells
+/bash/completion/canary
diff --git a/test/fixtures/xrandr/xrandr b/test/fixtures/xrandr/xrandr
new file mode 100755
index 0000000..a4693b5
--- /dev/null
+++ b/test/fixtures/xrandr/xrandr
@@ -0,0 +1,207 @@
+#!/bin/sh
+
+if [ "$1" = --help ]; then
+
+ # xrandr 1.5.1 help
+ cat <<EOF
+usage: xrandr [options]
+ where options are:
+ --display <display> or -d <display>
+ --help
+ -o <normal,inverted,left,right,0,1,2,3>
+ or --orientation <normal,inverted,left,right,0,1,2,3>
+ -q or --query
+ -s <size>/<width>x<height> or --size <size>/<width>x<height>
+ -r <rate> or --rate <rate> or --refresh <rate>
+ -v or --version
+ -x (reflect in x)
+ -y (reflect in y)
+ --screen <screen>
+ --verbose
+ --current
+ --dryrun
+ --nograb
+ --prop or --properties
+ --fb <width>x<height>
+ --fbmm <width>x<height>
+ --dpi <dpi>/<output>
+ --output <output>
+ --auto
+ --mode <mode>
+ --preferred
+ --pos <x>x<y>
+ --rate <rate> or --refresh <rate>
+ --reflect normal,x,y,xy
+ --rotate normal,inverted,left,right
+ --left-of <output>
+ --right-of <output>
+ --above <output>
+ --below <output>
+ --same-as <output>
+ --set <property> <value>
+ --scale <x>[x<y>]
+ --scale-from <w>x<h>
+ --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>
+ --filter nearest,bilinear
+ --off
+ --crtc <crtc>
+ --panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]
+ --gamma <r>[:<g>:<b>]
+ --brightness <value>
+ --primary
+ --noprimary
+ --newmode <name> <clock MHz>
+ <hdisp> <hsync-start> <hsync-end> <htotal>
+ <vdisp> <vsync-start> <vsync-end> <vtotal>
+ [flags...]
+ Valid flags: +HSync -HSync +VSync -VSync
+ +CSync -CSync CSync Interlace DoubleScan
+ --rmmode <name>
+ --addmode <output> <name>
+ --delmode <output> <name>
+ --listproviders
+ --setprovideroutputsource <prov-xid> <source-xid>
+ --setprovideroffloadsink <prov-xid> <sink-xid>
+ --listmonitors
+ --listactivemonitors
+ --setmonitor <name> {auto|<w>/<mmw>x<h>/<mmh>+<x>+<y>} {none|<output>,<output>,...}
+ --delmonitor <name>
+EOF
+
+elif
+ [ "$1" = --listmonitors ]
+then
+
+ cat <<EOF
+Monitors: 2
+ 0: +*eDP-1-1 1920/344x1080/193+0+1080 eDP-1-1
+ 1: +HDMI-0 1920/477x1080/268+0+0 HDMI-0
+EOF
+
+elif
+ [ "$1" = --listproviders ]
+then
+
+ cat <<EOF
+Providers: number : 2
+Provider 0: id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 5 associated providers: 1 name:NVIDIA-0
+Provider 1: id: 0x1fe cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
+EOF
+
+else
+
+ cat <<EOF
+Screen 0: minimum 8 x 8, current 1920 x 2160, maximum 32767 x 32767
+DP-0 disconnected (normal left inverted right x axis y axis)
+DP-1 disconnected (normal left inverted right x axis y axis)
+DP-2 disconnected (normal left inverted right x axis y axis)
+DP-3 disconnected (normal left inverted right x axis y axis)
+HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
+ 1920x1080 60.00*+ 59.94 50.00
+ 1680x1050 59.95
+ 1600x900 60.00
+ 1440x900 59.89
+ 1280x1024 75.02 60.02
+ 1280x800 59.81
+ 1280x720 60.00 59.94 50.00
+ 1152x864 75.00
+ 1024x768 75.03 70.07 60.00
+ 800x600 75.00 72.19 60.32 56.25
+ 720x576 50.00
+ 720x480 59.94
+ 640x480 75.00 72.81 59.94
+eDP-1-1 connected primary 1920x1080+0+1080 (normal left inverted right x axis y axis) 344mm x 193mm
+ 1920x1080 144.00*+ 60.01 59.97 59.96 59.93
+ 1680x1050 59.95 59.88
+ 1400x1050 74.76 59.98
+ 1600x900 59.99 59.94 59.95 59.82
+ 1280x1024 85.02 75.02 60.02
+ 1400x900 59.96 59.88
+ 1280x960 85.00 60.00
+ 1440x810 60.00 59.97
+ 1368x768 59.88 59.85
+ 1280x800 59.99 59.97 59.81 59.91
+ 1152x864 75.00
+ 1280x720 60.00 59.99 59.86 59.74
+ 1024x768 85.00 75.05 60.04 85.00 75.03 70.07 60.00
+ 1024x768i 86.96
+ 960x720 85.00 75.00 60.00
+ 928x696 75.00 60.05
+ 896x672 75.05 60.01
+ 1024x576 59.95 59.96 59.90 59.82
+ 960x600 59.93 60.00
+ 832x624 74.55
+ 960x540 59.96 59.99 59.63 59.82
+ 800x600 85.00 75.00 70.00 65.00 60.00 85.14 72.19 75.00 60.32 56.25
+ 840x525 60.01 59.88
+ 864x486 59.92 59.57
+ 700x525 74.76 59.98
+ 800x450 59.95 59.82
+ 640x512 85.02 75.02 60.02
+ 700x450 59.96 59.88
+ 640x480 85.09 60.00 85.01 72.81 75.00 59.94
+ 720x405 59.51 58.99
+ 720x400 85.04
+ 684x384 59.88 59.85
+ 640x400 59.88 59.98 85.08
+ 576x432 75.00
+ 640x360 59.86 59.83 59.84 59.32
+ 640x350 85.08
+ 512x384 85.00 75.03 70.07 60.00
+ 512x384i 87.06
+ 512x288 60.00 59.92
+ 416x312 74.66
+ 480x270 59.63 59.82
+ 400x300 85.27 72.19 75.12 60.32 56.34
+ 432x243 59.92 59.57
+ 320x240 85.18 72.81 75.00 60.05
+ 360x202 59.51 59.13
+ 360x200 85.04
+ 320x200 85.27
+ 320x180 59.84 59.32
+ 320x175 85.27
+ 1680x1050 (0x1c5) 146.250MHz -HSync +VSync
+ h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.29KHz
+ v: height 1050 start 1053 end 1059 total 1089 clock 59.95Hz
+ 1280x1024 (0x1c8) 135.000MHz +HSync +VSync
+ h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
+ v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
+ 1280x1024 (0x1c9) 108.000MHz +HSync +VSync
+ h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
+ v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
+ 1280x800 (0x1ca) 83.500MHz -HSync +VSync
+ h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 49.70KHz
+ v: height 800 start 803 end 809 total 831 clock 59.81Hz
+ 1152x864 (0x1ce) 108.000MHz +HSync +VSync
+ h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
+ v: height 864 start 865 end 868 total 900 clock 75.00Hz
+ 1024x768 (0x1cf) 78.750MHz +HSync +VSync
+ h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
+ v: height 768 start 769 end 772 total 800 clock 75.03Hz
+ 1024x768 (0x1d0) 75.000MHz -HSync -VSync
+ h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
+ v: height 768 start 771 end 777 total 806 clock 70.07Hz
+ 1024x768 (0x1d1) 65.000MHz -HSync -VSync
+ h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
+ v: height 768 start 771 end 777 total 806 clock 60.00Hz
+ 800x600 (0x1d3) 50.000MHz +HSync +VSync
+ h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
+ v: height 600 start 637 end 643 total 666 clock 72.19Hz
+ 800x600 (0x1d2) 49.500MHz +HSync +VSync
+ h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
+ v: height 600 start 601 end 604 total 625 clock 75.00Hz
+ 800x600 (0x1d4) 40.000MHz +HSync +VSync
+ h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
+ v: height 600 start 601 end 605 total 628 clock 60.32Hz
+ 800x600 (0x1d5) 36.000MHz +HSync +VSync
+ h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz
+ v: height 600 start 601 end 603 total 625 clock 56.25Hz
+ 640x480 (0x1d8) 31.500MHz -HSync -VSync
+ h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
+ v: height 480 start 481 end 484 total 500 clock 75.00Hz
+ 640x480 (0x1da) 25.175MHz -HSync -VSync
+ h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
+ v: height 480 start 490 end 492 total 525 clock 59.94Hz
+EOF
+
+fi