summaryrefslogtreecommitdiff
path: root/testsuite/rootfs-pristine/test-modprobe
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/rootfs-pristine/test-modprobe')
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/correct-psmouse.txt0
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/etc/modprobe.d/bogus.conf1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.kobin0 -> 95649 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias3
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias.binbin0 -> 101 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.builtin.bin0
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep.binbin0 -> 72 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.devname1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.softdep2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols.binbin0 -> 12 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/alias-to-none/proc/modules0
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias.binbin0 -> 12 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin.binbin0 -> 31 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep0
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep.binbin0 -> 12 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.devname1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.softdep2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols.binbin0 -> 12 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/etc/modprobe.d/dumb-instal-loop.conf1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd-pcm.ko.gzbin0 -> 46263 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd.ko.gzbin0 -> 38351 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias.binbin0 -> 46 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep.binbin0 -> 137 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.devname1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.softdep2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols133
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols.binbin0 -> 6131 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/correct-psmouse.txt1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/correct.txt2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.kobin0 -> 28134 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.kobin0 -> 95649 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.kobin0 -> 284834 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias21
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias.binbin0 -> 1227 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep3
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep.binbin0 -> 298 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.devname1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.softdep2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols45
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols.binbin0 -> 2390 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/proc/modules2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/coresize1
l---------testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/holders/btusb1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initsize1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initstate1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/notes/.note.gnu.build-idbin0 -> 36 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_ertm1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_esco1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_hs1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_le1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_mgmt1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/refcnt1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.bss1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.data1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.exit.text1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.gnu.linkonce.this_module1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.init.text1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.note.gnu.build-id1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.11
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.81
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.smp_locks1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.strtab1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.symtab1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text.unlikely1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__bug_table1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__jump_table1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab_gpl1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_gpl1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_strings1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__param1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/srcversion1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/taint1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/version1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/coresize1
l---------testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/drivers/usb:btusb1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/holders/.gitignore0
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initsize1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initstate1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/notes/.note.gnu.build-idbin0 -> 36 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/disable_scofix1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/force_scofix1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_csr1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_dga1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_sniffer1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/reset1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/refcnt1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.bss1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.data1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.exit.text1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.gnu.linkonce.this_module1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.init.text1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.note.gnu.build-id1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.11
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.81
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.smp_locks1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.strtab1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.symtab1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.text1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/__param1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/srcversion1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/taint1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/version1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/etc/modprobe.d/dumb-softdep.conf1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.kobin0 -> 28134 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.kobin0 -> 95649 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.kobin0 -> 284834 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias21
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias.binbin0 -> 1227 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep3
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep.binbin0 -> 298 bytes
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.devname1
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.softdep2
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols45
-rw-r--r--testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols.binbin0 -> 2390 bytes
126 files changed, 369 insertions, 0 deletions
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/correct-psmouse.txt b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/correct-psmouse.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/correct-psmouse.txt
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/etc/modprobe.d/bogus.conf b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/etc/modprobe.d/bogus.conf
new file mode 100644
index 0000000..14bed0b
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/etc/modprobe.d/bogus.conf
@@ -0,0 +1 @@
+alias psmouse deaddood
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko
new file mode 100644
index 0000000..4eac2a3
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias
new file mode 100644
index 0000000..a4e7677
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias
@@ -0,0 +1,3 @@
+# Aliases extracted from modules themselves.
+alias serio:ty05pr*id*ex* psmouse
+alias serio:ty01pr*id*ex* psmouse
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias.bin b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias.bin
new file mode 100644
index 0000000..0b13537
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.alias.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.builtin.bin b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.builtin.bin
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.builtin.bin
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep
new file mode 100644
index 0000000..7ba5711
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep
@@ -0,0 +1 @@
+kernel/drivers/input/mouse/psmouse.ko:
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep.bin b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep.bin
new file mode 100644
index 0000000..bdd0eb5
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.dep.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.devname b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.devname
new file mode 100644
index 0000000..58f6d6d
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.devname
@@ -0,0 +1 @@
+# Device nodes to trigger on-demand module loading.
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.softdep b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.softdep
new file mode 100644
index 0000000..3cc0512
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.softdep
@@ -0,0 +1,2 @@
+# Soft dependencies extracted from modules themselves.
+# Copy, with a .conf extension, to /etc/modprobe.d to use it with modprobe.
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols
new file mode 100644
index 0000000..618c345
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols
@@ -0,0 +1 @@
+# Aliases for symbols, used by symbol_request().
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols.bin b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols.bin
new file mode 100644
index 0000000..7075435
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/lib/modules/4.4.4/modules.symbols.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/alias-to-none/proc/modules b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/proc/modules
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/alias-to-none/proc/modules
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias
new file mode 100644
index 0000000..ba76e18
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias
@@ -0,0 +1 @@
+# Aliases extracted from modules themselves.
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias.bin b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias.bin
new file mode 100644
index 0000000..7075435
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.alias.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin
new file mode 100644
index 0000000..3c4ef2c
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin
@@ -0,0 +1 @@
+kernel/net/unix/unix.ko
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin.bin b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin.bin
new file mode 100644
index 0000000..41af3ee
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep.bin b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep.bin
new file mode 100644
index 0000000..7075435
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.dep.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.devname b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.devname
new file mode 100644
index 0000000..58f6d6d
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.devname
@@ -0,0 +1 @@
+# Device nodes to trigger on-demand module loading.
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.softdep b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.softdep
new file mode 100644
index 0000000..3cc0512
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.softdep
@@ -0,0 +1,2 @@
+# Soft dependencies extracted from modules themselves.
+# Copy, with a .conf extension, to /etc/modprobe.d to use it with modprobe.
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols
new file mode 100644
index 0000000..618c345
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols
@@ -0,0 +1 @@
+# Aliases for symbols, used by symbol_request().
diff --git a/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols.bin b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols.bin
new file mode 100644
index 0000000..7075435
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/etc/modprobe.d/dumb-instal-loop.conf b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/etc/modprobe.d/dumb-instal-loop.conf
new file mode 100644
index 0000000..8014af3
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/etc/modprobe.d/dumb-instal-loop.conf
@@ -0,0 +1 @@
+install snd $MODPROBE --ignore-install snd && { $MODPROBE --quiet snd-ioctl32 ; $MODPROBE --quiet snd-pcm ; }
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd-pcm.ko.gz b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd-pcm.ko.gz
new file mode 100644
index 0000000..b149c6a
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd-pcm.ko.gz
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd.ko.gz b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd.ko.gz
new file mode 100644
index 0000000..c7c671d
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/kernel/sound/core/snd.ko.gz
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias
new file mode 100644
index 0000000..8631be6
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias
@@ -0,0 +1,2 @@
+# Aliases extracted from modules themselves.
+alias char-major-116-* snd
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias.bin b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias.bin
new file mode 100644
index 0000000..e9d2680
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.alias.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep
new file mode 100644
index 0000000..518aa59
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep
@@ -0,0 +1,2 @@
+kernel/sound/core/snd.ko.gz:
+kernel/sound/core/snd-pcm.ko.gz: kernel/sound/core/snd.ko.gz
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep.bin b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep.bin
new file mode 100644
index 0000000..877ae7b
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.dep.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.devname b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.devname
new file mode 100644
index 0000000..58f6d6d
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.devname
@@ -0,0 +1 @@
+# Device nodes to trigger on-demand module loading.
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.softdep b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.softdep
new file mode 100644
index 0000000..3cc0512
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.softdep
@@ -0,0 +1,2 @@
+# Soft dependencies extracted from modules themselves.
+# Copy, with a .conf extension, to /etc/modprobe.d to use it with modprobe.
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols
new file mode 100644
index 0000000..300cdc2
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols
@@ -0,0 +1,133 @@
+# Aliases for symbols, used by symbol_request().
+alias symbol:copy_from_user_toio snd
+alias symbol:snd_kctl_jack_new snd
+alias symbol:snd_pcm_hw_constraint_minmax snd_pcm
+alias symbol:snd_ctl_register_ioctl_compat snd
+alias symbol:snd_pcm_period_elapsed snd_pcm
+alias symbol:snd_pcm_format_linear snd_pcm
+alias symbol:snd_pcm_format_big_endian snd_pcm
+alias symbol:snd_request_card snd
+alias symbol:snd_pcm_lib_ioctl snd_pcm
+alias symbol:snd_add_device_sysfs_file snd
+alias symbol:snd_card_proc_new snd
+alias symbol:snd_ctl_boolean_stereo_info snd
+alias symbol:snd_unregister_oss_device snd
+alias symbol:snd_card_free snd
+alias symbol:snd_pcm_sgbuf_ops_page snd_pcm
+alias symbol:snd_pcm_new_stream snd_pcm
+alias symbol:snd_card_create snd
+alias symbol:snd_card_register snd
+alias symbol:snd_ctl_free_one snd
+alias symbol:snd_register_device_for_dev snd
+alias symbol:snd_lookup_oss_minor_data snd
+alias symbol:snd_pcm_hw_constraint_step snd_pcm
+alias symbol:snd_seq_root snd
+alias symbol:snd_pcm_new snd_pcm
+alias symbol:snd_card_set_id snd
+alias symbol:snd_info_register snd
+alias symbol:snd_pcm_lib_preallocate_pages snd_pcm
+alias symbol:snd_pcm_hw_rule_noresample snd_pcm
+alias symbol:snd_ctl_remove snd
+alias symbol:snd_pcm_lib_read snd_pcm
+alias symbol:snd_pcm_mmap_data snd_pcm
+alias symbol:snd_pcm_hw_constraint_list snd_pcm
+alias symbol:snd_oss_info_register snd
+alias symbol:snd_dma_pointer snd
+alias symbol:snd_ctl_new1 snd
+alias symbol:snd_interval_ratnum snd_pcm
+alias symbol:snd_pcm_release_substream snd_pcm
+alias symbol:snd_pcm_suspend_all snd_pcm
+alias symbol:snd_ctl_register_ioctl snd
+alias symbol:snd_ctl_rename_id snd
+alias symbol:snd_card_file_add snd
+alias symbol:snd_pcm_limit_hw_rates snd_pcm
+alias symbol:snd_jack_set_parent snd
+alias symbol:snd_pcm_format_width snd_pcm
+alias symbol:snd_jack_new snd
+alias symbol:snd_ctl_make_virtual_master snd
+alias symbol:snd_jack_report snd
+alias symbol:snd_pcm_format_little_endian snd_pcm
+alias symbol:snd_ctl_notify snd
+alias symbol:snd_pcm_set_sync snd_pcm
+alias symbol:snd_component_add snd
+alias symbol:_snd_ctl_add_slave snd
+alias symbol:snd_device_register snd
+alias symbol:snd_iprintf snd
+alias symbol:snd_pcm_lib_default_mmap snd_pcm
+alias symbol:_snd_pcm_hw_params_any snd_pcm
+alias symbol:snd_card_file_remove snd
+alias symbol:snd_ctl_replace snd
+alias symbol:snd_pcm_link_rwlock snd_pcm
+alias symbol:snd_info_get_line snd
+alias symbol:snd_ctl_activate_id snd
+alias symbol:snd_pcm_format_signed snd_pcm
+alias symbol:snd_pcm_open_substream snd_pcm
+alias symbol:snd_dma_disable snd
+alias symbol:snd_pcm_set_ops snd_pcm
+alias symbol:release_and_free_resource snd
+alias symbol:snd_ecards_limit snd
+alias symbol:snd_pcm_hw_param_value snd_pcm
+alias symbol:snd_cards snd
+alias symbol:snd_device_free snd
+alias symbol:snd_dma_program snd
+alias symbol:snd_interval_refine snd_pcm
+alias symbol:snd_pcm_lib_preallocate_free_for_all snd_pcm
+alias symbol:snd_pcm_hw_constraint_msbits snd_pcm
+alias symbol:snd_pcm_lib_mmap_iomem snd_pcm
+alias symbol:snd_pcm_lib_get_vmalloc_page snd_pcm
+alias symbol:snd_pcm_suspend snd_pcm
+alias symbol:snd_pcm_format_unsigned snd_pcm
+alias symbol:snd_card_free_when_closed snd
+alias symbol:snd_ctl_unregister_ioctl_compat snd
+alias symbol:snd_interval_list snd_pcm
+alias symbol:snd_pcm_lib_malloc_pages snd_pcm
+alias symbol:snd_unregister_device snd
+alias symbol:snd_pcm_lib_readv snd_pcm
+alias symbol:snd_pcm_hw_constraint_ratnums snd_pcm
+alias symbol:snd_pcm_hw_constraint_ratdens snd_pcm
+alias symbol:snd_major snd
+alias symbol:copy_to_user_fromio snd
+alias symbol:snd_pcm_format_name snd_pcm
+alias symbol:snd_pcm_lib_preallocate_pages_for_all snd_pcm
+alias symbol:snd_ctl_add snd
+alias symbol:snd_info_create_card_entry snd
+alias symbol:snd_pcm_hw_rule_add snd_pcm
+alias symbol:snd_pcm_lib_writev snd_pcm
+alias symbol:snd_pcm_format_set_silence snd_pcm
+alias symbol:snd_pcm_hw_param_last snd_pcm
+alias symbol:snd_card_disconnect snd
+alias symbol:snd_info_get_str snd
+alias symbol:snd_lookup_minor_data snd
+alias symbol:snd_pci_quirk_lookup_id snd
+alias symbol:snd_pcm_rate_to_rate_bit snd_pcm
+alias symbol:snd_pcm_lib_free_vmalloc_buffer snd_pcm
+alias symbol:snd_pcm_format_silence_64 snd_pcm
+alias symbol:snd_pcm_sgbuf_get_chunk_size snd_pcm
+alias symbol:snd_pci_quirk_lookup snd
+alias symbol:snd_pcm_notify snd_pcm
+alias symbol:_snd_pcm_hw_param_setempty snd_pcm
+alias symbol:snd_power_wait snd
+alias symbol:snd_pcm_hw_constraint_pow2 snd_pcm
+alias symbol:snd_register_oss_device snd
+alias symbol:snd_ctl_find_numid snd
+alias symbol:snd_pcm_kernel_ioctl snd_pcm
+alias symbol:snd_pcm_hw_constraint_integer snd_pcm
+alias symbol:snd_pcm_lib_write snd_pcm
+alias symbol:snd_kctl_jack_report snd
+alias symbol:snd_pcm_lib_free_pages snd_pcm
+alias symbol:snd_pcm_hw_param_first snd_pcm
+alias symbol:snd_ctl_enum_info snd
+alias symbol:snd_jack_set_key snd
+alias symbol:snd_device_new snd
+alias symbol:snd_ctl_find_id snd
+alias symbol:snd_pcm_hw_refine snd_pcm
+alias symbol:snd_ctl_boolean_mono_info snd
+alias symbol:snd_mixer_oss_notify_callback snd
+alias symbol:snd_pcm_format_size snd_pcm
+alias symbol:snd_pcm_format_physical_width snd_pcm
+alias symbol:snd_info_free_entry snd
+alias symbol:snd_ctl_remove_id snd
+alias symbol:_snd_pcm_lib_alloc_vmalloc_buffer snd_pcm
+alias symbol:snd_pcm_stop snd_pcm
+alias symbol:snd_ctl_unregister_ioctl snd
+alias symbol:snd_info_create_module_entry snd
diff --git a/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols.bin b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols.bin
new file mode 100644
index 0000000..03366e3
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/install-cmd-loop/lib/modules/4.4.4/modules.symbols.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/correct-psmouse.txt b/testsuite/rootfs-pristine/test-modprobe/show-depends/correct-psmouse.txt
new file mode 100644
index 0000000..1e773d7
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/correct-psmouse.txt
@@ -0,0 +1 @@
+insmod /lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/correct.txt b/testsuite/rootfs-pristine/test-modprobe/show-depends/correct.txt
new file mode 100644
index 0000000..52fddba
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/correct.txt
@@ -0,0 +1,2 @@
+insmod /lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko
+insmod /lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko
new file mode 100644
index 0000000..f4e21e0
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko
new file mode 100644
index 0000000..4eac2a3
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko
new file mode 100644
index 0000000..a8949a6
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias
new file mode 100644
index 0000000..94804f1
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias
@@ -0,0 +1,21 @@
+# Aliases extracted from modules themselves.
+alias usb:v413Cp8197d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v0A5Cp21E3d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v0C10p0000d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v0BDBp1002d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v044Ep3002d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v044Ep3001d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v04BFp030Ad*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v057Cp3800d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8281d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp821Ad*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp821Fd*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp821Bd*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8218d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8215d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8213d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp21E1d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v*p*d*dcE0dsc01dp01ic*isc*ip* btusb
+alias serio:ty05pr*id*ex* psmouse
+alias serio:ty01pr*id*ex* psmouse
+alias net-pf-31 bluetooth
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias.bin b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias.bin
new file mode 100644
index 0000000..86481a4
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep
new file mode 100644
index 0000000..a34af87
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep
@@ -0,0 +1,3 @@
+kernel/drivers/bluetooth/btusb.ko: kernel/net/bluetooth/bluetooth.ko
+kernel/drivers/input/mouse/psmouse.ko:
+kernel/net/bluetooth/bluetooth.ko:
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep.bin b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep.bin
new file mode 100644
index 0000000..3382706
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.devname b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.devname
new file mode 100644
index 0000000..58f6d6d
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.devname
@@ -0,0 +1 @@
+# Device nodes to trigger on-demand module loading.
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.softdep b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.softdep
new file mode 100644
index 0000000..3cc0512
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.softdep
@@ -0,0 +1,2 @@
+# Soft dependencies extracted from modules themselves.
+# Copy, with a .conf extension, to /etc/modprobe.d to use it with modprobe.
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols
new file mode 100644
index 0000000..b970b60
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols
@@ -0,0 +1,45 @@
+# Aliases for symbols, used by symbol_request().
+alias symbol:hci_conn_check_secure bluetooth
+alias symbol:hci_send_acl bluetooth
+alias symbol:hci_recv_fragment bluetooth
+alias symbol:hci_recv_frame bluetooth
+alias symbol:hci_le_ltk_reply bluetooth
+alias symbol:hci_send_sco bluetooth
+alias symbol:bt_debugfs bluetooth
+alias symbol:bt_accept_unlink bluetooth
+alias symbol:bt_sock_recvmsg bluetooth
+alias symbol:bt_sock_ioctl bluetooth
+alias symbol:hci_le_conn_update bluetooth
+alias symbol:hci_unregister_cb bluetooth
+alias symbol:hci_connect bluetooth
+alias symbol:hci_le_start_enc bluetooth
+alias symbol:bt_sock_link bluetooth
+alias symbol:bt_printk bluetooth
+alias symbol:hci_alloc_dev bluetooth
+alias symbol:baswap bluetooth
+alias symbol:hci_conn_switch_role bluetooth
+alias symbol:hci_resume_dev bluetooth
+alias symbol:bt_sock_stream_recvmsg bluetooth
+alias symbol:hci_conn_check_link_mode bluetooth
+alias symbol:hci_conn_hold_device bluetooth
+alias symbol:hci_conn_change_link_key bluetooth
+alias symbol:hci_conn_put_device bluetooth
+alias symbol:batostr bluetooth
+alias symbol:bt_to_errno bluetooth
+alias symbol:bt_accept_dequeue bluetooth
+alias symbol:hci_free_dev bluetooth
+alias symbol:bt_accept_enqueue bluetooth
+alias symbol:hci_find_link_key_type bluetooth
+alias symbol:hci_find_ltk bluetooth
+alias symbol:hci_recv_stream_fragment bluetooth
+alias symbol:bt_sock_register bluetooth
+alias symbol:hci_get_route bluetooth
+alias symbol:hci_register_dev bluetooth
+alias symbol:hci_unregister_dev bluetooth
+alias symbol:bt_sock_poll bluetooth
+alias symbol:bt_sock_wait_state bluetooth
+alias symbol:bt_sock_unlink bluetooth
+alias symbol:bt_sock_unregister bluetooth
+alias symbol:hci_register_cb bluetooth
+alias symbol:hci_suspend_dev bluetooth
+alias symbol:hci_conn_security bluetooth
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols.bin b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols.bin
new file mode 100644
index 0000000..156a61f
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/proc/modules b/testsuite/rootfs-pristine/test-modprobe/show-depends/proc/modules
new file mode 100644
index 0000000..aab95dd
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/proc/modules
@@ -0,0 +1,2 @@
+btusb 11911 0 - Live 0xffffffffa00ec000
+bluetooth 173424 1 btusb, Live 0xffffffffa0040000
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/coresize b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/coresize
new file mode 100644
index 0000000..8bc1425
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/coresize
@@ -0,0 +1 @@
+173424
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/holders/btusb b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/holders/btusb
new file mode 120000
index 0000000..8fe6aa9
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/holders/btusb
@@ -0,0 +1 @@
+../../btusb \ No newline at end of file
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initsize b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initsize
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initsize
@@ -0,0 +1 @@
+0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initstate b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initstate
new file mode 100644
index 0000000..e23fe64
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/initstate
@@ -0,0 +1 @@
+live
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/notes/.note.gnu.build-id b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/notes/.note.gnu.build-id
new file mode 100644
index 0000000..e917247
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/notes/.note.gnu.build-id
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_ertm b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_ertm
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_ertm
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_esco b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_esco
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_esco
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_hs b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_hs
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_hs
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_le b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_le
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_le
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_mgmt b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_mgmt
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_mgmt
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/refcnt b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/refcnt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/refcnt
@@ -0,0 +1 @@
+1
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.bss b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.bss
new file mode 100644
index 0000000..ea8c54e
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.bss
@@ -0,0 +1 @@
+0xffffffffa0063fe0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.data b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.data
new file mode 100644
index 0000000..a6f2254
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.data
@@ -0,0 +1 @@
+0xffffffffa0063360
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.exit.text b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.exit.text
new file mode 100644
index 0000000..86d3cd1
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.exit.text
@@ -0,0 +1 @@
+0xffffffffa0060c32
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.gnu.linkonce.this_module b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.gnu.linkonce.this_module
new file mode 100644
index 0000000..50a1575
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.gnu.linkonce.this_module
@@ -0,0 +1 @@
+0xffffffffa0063da0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.init.text b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.init.text
new file mode 100644
index 0000000..921b9d9
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.init.text
@@ -0,0 +1 @@
+0xffffffffa0076000
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.note.gnu.build-id b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.note.gnu.build-id
new file mode 100644
index 0000000..8a4d2ce
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.note.gnu.build-id
@@ -0,0 +1 @@
+0xffffffffa0060c98
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata
new file mode 100644
index 0000000..24af87e
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata
@@ -0,0 +1 @@
+0xffffffffa00610e0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.1 b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.1
new file mode 100644
index 0000000..0da8d6d
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.1
@@ -0,0 +1 @@
+0xffffffffa0062674
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.8 b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.8
new file mode 100644
index 0000000..3c0aeba
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.8
@@ -0,0 +1 @@
+0xffffffffa0062af0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.smp_locks b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.smp_locks
new file mode 100644
index 0000000..d1da04c
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.smp_locks
@@ -0,0 +1 @@
+0xffffffffa00620cc
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.strtab b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.strtab
new file mode 100644
index 0000000..3e03a95
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.strtab
@@ -0,0 +1 @@
+0xffffffffa007b280
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.symtab b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.symtab
new file mode 100644
index 0000000..9875bb4
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.symtab
@@ -0,0 +1 @@
+0xffffffffa0076300
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text
new file mode 100644
index 0000000..db229db
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text
@@ -0,0 +1 @@
+0xffffffffa0040000
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text.unlikely b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text.unlikely
new file mode 100644
index 0000000..4d8920f
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/.text.unlikely
@@ -0,0 +1 @@
+0xffffffffa0060c2c
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__bug_table b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__bug_table
new file mode 100644
index 0000000..07fd388
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__bug_table
@@ -0,0 +1 @@
+0xffffffffa0062ac6
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__jump_table b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__jump_table
new file mode 100644
index 0000000..ff0edf6
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__jump_table
@@ -0,0 +1 @@
+0xffffffffa0063d10
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab
new file mode 100644
index 0000000..8542e00
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab
@@ -0,0 +1 @@
+0xffffffffa0060f80
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab_gpl b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab_gpl
new file mode 100644
index 0000000..aaa4573
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab_gpl
@@ -0,0 +1 @@
+0xffffffffa00610d8
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab
new file mode 100644
index 0000000..a81db94
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab
@@ -0,0 +1 @@
+0xffffffffa0060cc0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_gpl b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_gpl
new file mode 100644
index 0000000..4d4c450
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_gpl
@@ -0,0 +1 @@
+0xffffffffa0060f70
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_strings b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_strings
new file mode 100644
index 0000000..5290e4c
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_strings
@@ -0,0 +1 @@
+0xffffffffa0062fe4
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__param b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__param
new file mode 100644
index 0000000..5d4be39
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/sections/__param
@@ -0,0 +1 @@
+0xffffffffa00632c0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/srcversion b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/srcversion
new file mode 100644
index 0000000..64bc12e
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/srcversion
@@ -0,0 +1 @@
+72F6D42DC4BD163E7718A31
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/taint b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/taint
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/taint
@@ -0,0 +1 @@
+
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/version b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/version
new file mode 100644
index 0000000..6d28a11
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/bluetooth/version
@@ -0,0 +1 @@
+2.16
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/coresize b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/coresize
new file mode 100644
index 0000000..4b104f9
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/coresize
@@ -0,0 +1 @@
+11911
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/drivers/usb:btusb b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/drivers/usb:btusb
new file mode 120000
index 0000000..c173837
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/drivers/usb:btusb
@@ -0,0 +1 @@
+../../../bus/usb/drivers/btusb \ No newline at end of file
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/holders/.gitignore b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/holders/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/holders/.gitignore
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initsize b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initsize
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initsize
@@ -0,0 +1 @@
+0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initstate b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initstate
new file mode 100644
index 0000000..e23fe64
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/initstate
@@ -0,0 +1 @@
+live
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/notes/.note.gnu.build-id b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/notes/.note.gnu.build-id
new file mode 100644
index 0000000..0afeca4
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/notes/.note.gnu.build-id
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/disable_scofix b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/disable_scofix
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/disable_scofix
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/force_scofix b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/force_scofix
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/force_scofix
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_csr b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_csr
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_csr
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_dga b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_dga
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_dga
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_sniffer b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_sniffer
new file mode 100644
index 0000000..d52e798
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_sniffer
@@ -0,0 +1 @@
+N
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/reset b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/reset
new file mode 100644
index 0000000..9bda8c3
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/parameters/reset
@@ -0,0 +1 @@
+Y
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/refcnt b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/refcnt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/refcnt
@@ -0,0 +1 @@
+0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.bss b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.bss
new file mode 100644
index 0000000..44785c0
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.bss
@@ -0,0 +1 @@
+0xffffffffa00ee708
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.data b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.data
new file mode 100644
index 0000000..bfdb603
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.data
@@ -0,0 +1 @@
+0xffffffffa00edf20
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.exit.text b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.exit.text
new file mode 100644
index 0000000..a504729
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.exit.text
@@ -0,0 +1 @@
+0xffffffffa00edc68
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.gnu.linkonce.this_module b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.gnu.linkonce.this_module
new file mode 100644
index 0000000..2b18edc
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.gnu.linkonce.this_module
@@ -0,0 +1 @@
+0xffffffffa00ee4e0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.init.text b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.init.text
new file mode 100644
index 0000000..017c50e
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.init.text
@@ -0,0 +1 @@
+0xffffffffa00f0000
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.note.gnu.build-id b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.note.gnu.build-id
new file mode 100644
index 0000000..982e7c1
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.note.gnu.build-id
@@ -0,0 +1 @@
+0xffffffffa00edc7c
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata
new file mode 100644
index 0000000..4988b02
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata
@@ -0,0 +1 @@
+0xffffffffa00edec0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.1 b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.1
new file mode 100644
index 0000000..52bcaf7
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.1
@@ -0,0 +1 @@
+0xffffffffa00edd11
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.8 b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.8
new file mode 100644
index 0000000..68be4ed
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.8
@@ -0,0 +1 @@
+0xffffffffa00edca0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.smp_locks b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.smp_locks
new file mode 100644
index 0000000..9978310
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.smp_locks
@@ -0,0 +1 @@
+0xffffffffa00edd90
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.strtab b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.strtab
new file mode 100644
index 0000000..e4fdf8e
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.strtab
@@ -0,0 +1 @@
+0xffffffffa00f0dd0
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.symtab b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.symtab
new file mode 100644
index 0000000..73f8cee
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.symtab
@@ -0,0 +1 @@
+0xffffffffa00f0020
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.text b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.text
new file mode 100644
index 0000000..d39dfe6
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/.text
@@ -0,0 +1 @@
+0xffffffffa00ec000
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/__param b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/__param
new file mode 100644
index 0000000..76e34cd
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/sections/__param
@@ -0,0 +1 @@
+0xffffffffa00ede00
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/srcversion b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/srcversion
new file mode 100644
index 0000000..2d4bd99
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/srcversion
@@ -0,0 +1 @@
+1FC03999655A6ECD28DC794
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/taint b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/taint
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/taint
@@ -0,0 +1 @@
+
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/version b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/version
new file mode 100644
index 0000000..5a2a580
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/show-depends/sys/module/btusb/version
@@ -0,0 +1 @@
+0.6
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/etc/modprobe.d/dumb-softdep.conf b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/etc/modprobe.d/dumb-softdep.conf
new file mode 100644
index 0000000..fa41143
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/etc/modprobe.d/dumb-softdep.conf
@@ -0,0 +1 @@
+softdep bluetooth post: btusb
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko
new file mode 100644
index 0000000..f4e21e0
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko
new file mode 100644
index 0000000..4eac2a3
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko
new file mode 100644
index 0000000..a8949a6
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias
new file mode 100644
index 0000000..94804f1
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias
@@ -0,0 +1,21 @@
+# Aliases extracted from modules themselves.
+alias usb:v413Cp8197d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v0A5Cp21E3d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v0C10p0000d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v0BDBp1002d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v044Ep3002d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v044Ep3001d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v04BFp030Ad*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v057Cp3800d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8281d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp821Ad*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp821Fd*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp821Bd*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8218d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8215d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp8213d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v05ACp21E1d*dc*dsc*dp*ic*isc*ip* btusb
+alias usb:v*p*d*dcE0dsc01dp01ic*isc*ip* btusb
+alias serio:ty05pr*id*ex* psmouse
+alias serio:ty01pr*id*ex* psmouse
+alias net-pf-31 bluetooth
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias.bin b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias.bin
new file mode 100644
index 0000000..86481a4
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.alias.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep
new file mode 100644
index 0000000..a34af87
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep
@@ -0,0 +1,3 @@
+kernel/drivers/bluetooth/btusb.ko: kernel/net/bluetooth/bluetooth.ko
+kernel/drivers/input/mouse/psmouse.ko:
+kernel/net/bluetooth/bluetooth.ko:
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep.bin b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep.bin
new file mode 100644
index 0000000..3382706
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.dep.bin
Binary files differ
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.devname b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.devname
new file mode 100644
index 0000000..58f6d6d
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.devname
@@ -0,0 +1 @@
+# Device nodes to trigger on-demand module loading.
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.softdep b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.softdep
new file mode 100644
index 0000000..3cc0512
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.softdep
@@ -0,0 +1,2 @@
+# Soft dependencies extracted from modules themselves.
+# Copy, with a .conf extension, to /etc/modprobe.d to use it with modprobe.
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols
new file mode 100644
index 0000000..b970b60
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols
@@ -0,0 +1,45 @@
+# Aliases for symbols, used by symbol_request().
+alias symbol:hci_conn_check_secure bluetooth
+alias symbol:hci_send_acl bluetooth
+alias symbol:hci_recv_fragment bluetooth
+alias symbol:hci_recv_frame bluetooth
+alias symbol:hci_le_ltk_reply bluetooth
+alias symbol:hci_send_sco bluetooth
+alias symbol:bt_debugfs bluetooth
+alias symbol:bt_accept_unlink bluetooth
+alias symbol:bt_sock_recvmsg bluetooth
+alias symbol:bt_sock_ioctl bluetooth
+alias symbol:hci_le_conn_update bluetooth
+alias symbol:hci_unregister_cb bluetooth
+alias symbol:hci_connect bluetooth
+alias symbol:hci_le_start_enc bluetooth
+alias symbol:bt_sock_link bluetooth
+alias symbol:bt_printk bluetooth
+alias symbol:hci_alloc_dev bluetooth
+alias symbol:baswap bluetooth
+alias symbol:hci_conn_switch_role bluetooth
+alias symbol:hci_resume_dev bluetooth
+alias symbol:bt_sock_stream_recvmsg bluetooth
+alias symbol:hci_conn_check_link_mode bluetooth
+alias symbol:hci_conn_hold_device bluetooth
+alias symbol:hci_conn_change_link_key bluetooth
+alias symbol:hci_conn_put_device bluetooth
+alias symbol:batostr bluetooth
+alias symbol:bt_to_errno bluetooth
+alias symbol:bt_accept_dequeue bluetooth
+alias symbol:hci_free_dev bluetooth
+alias symbol:bt_accept_enqueue bluetooth
+alias symbol:hci_find_link_key_type bluetooth
+alias symbol:hci_find_ltk bluetooth
+alias symbol:hci_recv_stream_fragment bluetooth
+alias symbol:bt_sock_register bluetooth
+alias symbol:hci_get_route bluetooth
+alias symbol:hci_register_dev bluetooth
+alias symbol:hci_unregister_dev bluetooth
+alias symbol:bt_sock_poll bluetooth
+alias symbol:bt_sock_wait_state bluetooth
+alias symbol:bt_sock_unlink bluetooth
+alias symbol:bt_sock_unregister bluetooth
+alias symbol:hci_register_cb bluetooth
+alias symbol:hci_suspend_dev bluetooth
+alias symbol:hci_conn_security bluetooth
diff --git a/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols.bin b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols.bin
new file mode 100644
index 0000000..156a61f
--- /dev/null
+++ b/testsuite/rootfs-pristine/test-modprobe/softdep-loop/lib/modules/4.4.4/modules.symbols.bin
Binary files differ