From: Dan McGee Date: Fri, 3 Feb 2012 19:24:18 +0000 (-0600) Subject: testsuite: ship testsuite/rootfs unzipped X-Git-Tag: v9~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdbcc2481ccb2e63e63492b2c3e8adcbedf407f1;p=thirdparty%2Fkmod.git testsuite: ship testsuite/rootfs unzipped The current configuration is dumb in any number of ways: 1) If the rationale was for space savings, it works the opposite- the git repo gets more bloated because we are adding binary compressed blobs that share little in common with their parent, and anyone that wants to run the test suite has to unzip it anyway. 2) It is a pain in the butt to add new tests, and not accidentally lose any new rootfs you built in the directory. 3) `git status` won't help you if you are tweaking files in the rootfs and don't know they have been changed, or if some test did that and you couldn't detect it. 4) `git log` won't help you find out what is changing in the rootfs test directory itself when changes are made to the binary blob, such as new files being added or even existing files being tweaked. 5) The files just aren't that big anyway- 2.7MB unzipped. --- diff --git a/Makefile.am b/Makefile.am index 126d1da1..bd6ac4fa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -127,10 +127,6 @@ endif # TESTSUITE # ------------------------------------------------------------------------------ -testsuite/rootfs: $(top_srcdir)/testsuite/rootfs.tar.xz - $(AM_V_GEN) tar -C testsuite/ \ - -xJf $(top_srcdir)/testsuite/rootfs.tar.xz - TESTSUITE_OVERRIDE_LIBS = testsuite/uname.la testsuite/path.la \ testsuite/init_module.la \ testsuite/delete_module.la @@ -148,17 +144,6 @@ testsuite_init_module_la_SOURCES = testsuite/init_module.c \ testsuite/stripped-module.h testsuite_init_module_la_LIBADD = libkmod/libkmod-private.la -testsuite-distclean: - -rm -rf testsuite/rootfs - -testsuite-pack-rootfs: - $(AM_V_GEN) ( cd testsuite && tar -cJf \ - $(abs_top_srcdir)/testsuite/rootfs.tar.xz \ - rootfs ) - -DISTCLEAN_LOCAL_HOOKS += testsuite-distclean -EXTRA_DIST += testsuite/rootfs.tar.xz - TESTSUITE_CPPFLAGS = $(AM_CPPFLAGS) \ -DTESTSUITE_ROOTFS=\"$(abs_top_builddir)/testsuite/rootfs/\" \ -DABS_TOP_BUILDDIR=\"$(abs_top_builddir)\" diff --git a/testsuite/.gitignore b/testsuite/.gitignore index 7b710480..431b9b7e 100644 --- a/testsuite/.gitignore +++ b/testsuite/.gitignore @@ -2,7 +2,6 @@ *.la *.so /.dirstamp -/rootfs/ /test-alias /test-init /test-loaded diff --git a/testsuite/rootfs.tar.xz b/testsuite/rootfs.tar.xz deleted file mode 100644 index 1ed83daf..00000000 Binary files a/testsuite/rootfs.tar.xz and /dev/null differ diff --git a/testsuite/rootfs/test-alias/correct.txt b/testsuite/rootfs/test-alias/correct.txt new file mode 100644 index 00000000..86d0304a --- /dev/null +++ b/testsuite/rootfs/test-alias/correct.txt @@ -0,0 +1,25 @@ +input test1234 +return 0 +len 8 +output test1234 + +input test[abcfoobar]2211 +return 0 +len 19 +output test[abcfoobar]2211 + +input bar[aaa][bbbb]sss +return 0 +len 17 +output bar[aaa][bbbb]sss + +input kmod[p.b]lib +return 0 +len 12 +output kmod[p.b]lib + +input [az]1234[AZ] +return 0 +len 12 +output [az]1234[AZ] + diff --git a/testsuite/rootfs/test-loaded/correct.txt b/testsuite/rootfs/test-loaded/correct.txt new file mode 100644 index 00000000..71c5f7fd --- /dev/null +++ b/testsuite/rootfs/test-loaded/correct.txt @@ -0,0 +1,2 @@ +Module Size Used by +btusb 11216 0 diff --git a/testsuite/rootfs/test-loaded/proc/modules b/testsuite/rootfs/test-loaded/proc/modules new file mode 100644 index 00000000..ce468c04 --- /dev/null +++ b/testsuite/rootfs/test-loaded/proc/modules @@ -0,0 +1 @@ +btusb 11216 0 - Live 0xffffffffa014a000 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/drivers/usb:btusb b/testsuite/rootfs/test-loaded/sys/module/btusb/drivers/usb:btusb new file mode 120000 index 00000000..c173837b --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/drivers/usb:btusb @@ -0,0 +1 @@ +../../../bus/usb/drivers/btusb \ No newline at end of file diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/holders/.gitignore b/testsuite/rootfs/test-loaded/sys/module/btusb/holders/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/initstate b/testsuite/rootfs/test-loaded/sys/module/btusb/initstate new file mode 100644 index 00000000..e23fe645 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/initstate @@ -0,0 +1 @@ +live diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/notes/.note.gnu.build-id b/testsuite/rootfs/test-loaded/sys/module/btusb/notes/.note.gnu.build-id new file mode 100644 index 00000000..0758558f Binary files /dev/null and b/testsuite/rootfs/test-loaded/sys/module/btusb/notes/.note.gnu.build-id differ diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/disable_scofix b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/disable_scofix new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/disable_scofix @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/force_scofix b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/force_scofix new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/force_scofix @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_csr b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_csr new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_csr @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_dga b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_dga new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_dga @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_sniffer b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_sniffer new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/ignore_sniffer @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/reset b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/reset new file mode 100644 index 00000000..9bda8c35 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/parameters/reset @@ -0,0 +1 @@ +Y diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/refcnt b/testsuite/rootfs/test-loaded/sys/module/btusb/refcnt new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/refcnt @@ -0,0 +1 @@ +0 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.bss b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.bss new file mode 100644 index 00000000..e971686b --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.bss @@ -0,0 +1 @@ +0xffffffffa014c828 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.data b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.data new file mode 100644 index 00000000..5ccfa095 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.data @@ -0,0 +1 @@ +0xffffffffa014c040 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.exit.text b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.exit.text new file mode 100644 index 00000000..446df03e --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.exit.text @@ -0,0 +1 @@ +0xffffffffa014bd7c diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.gnu.linkonce.this_module b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.gnu.linkonce.this_module new file mode 100644 index 00000000..f91a8fd8 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.gnu.linkonce.this_module @@ -0,0 +1 @@ +0xffffffffa014c600 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.init.text b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.init.text new file mode 100644 index 00000000..1179bf25 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.init.text @@ -0,0 +1 @@ +0xffffffffa014e000 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.note.gnu.build-id b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.note.gnu.build-id new file mode 100644 index 00000000..e08ddab4 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.note.gnu.build-id @@ -0,0 +1 @@ +0xffffffffa014bd90 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata new file mode 100644 index 00000000..327441b2 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata @@ -0,0 +1 @@ +0xffffffffa014bfe0 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata.str1.1 b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata.str1.1 new file mode 100644 index 00000000..e96b6584 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata.str1.1 @@ -0,0 +1 @@ +0xffffffffa014be29 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata.str1.8 b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata.str1.8 new file mode 100644 index 00000000..d437cbe4 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.rodata.str1.8 @@ -0,0 +1 @@ +0xffffffffa014bdb8 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.smp_locks b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.smp_locks new file mode 100644 index 00000000..955e2430 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.smp_locks @@ -0,0 +1 @@ +0xffffffffa014bea8 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.strtab b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.strtab new file mode 100644 index 00000000..a874fed2 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.strtab @@ -0,0 +1 @@ +0xffffffffa014ede8 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.symtab b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.symtab new file mode 100644 index 00000000..fafe019b --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.symtab @@ -0,0 +1 @@ +0xffffffffa014e020 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.text b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.text new file mode 100644 index 00000000..0a967df7 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/.text @@ -0,0 +1 @@ +0xffffffffa014a000 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/sections/__param b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/__param new file mode 100644 index 00000000..9f6710ab --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/sections/__param @@ -0,0 +1 @@ +0xffffffffa014bf20 diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/srcversion b/testsuite/rootfs/test-loaded/sys/module/btusb/srcversion new file mode 100644 index 00000000..a688adfe --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/srcversion @@ -0,0 +1 @@ +8EEAC35838CCA1118F97F5F diff --git a/testsuite/rootfs/test-loaded/sys/module/btusb/version b/testsuite/rootfs/test-loaded/sys/module/btusb/version new file mode 100644 index 00000000..5a2a5806 --- /dev/null +++ b/testsuite/rootfs/test-loaded/sys/module/btusb/version @@ -0,0 +1 @@ +0.6 diff --git a/testsuite/rootfs/test-modinfo/correct.txt b/testsuite/rootfs/test-modinfo/correct.txt new file mode 100644 index 00000000..16821541 --- /dev/null +++ b/testsuite/rootfs/test-modinfo/correct.txt @@ -0,0 +1,28 @@ +filename: /ext4-i686.ko +license: GPL +description: Fourth Extended Filesystem +author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others +srcversion: A80608676B83D55514B450E +depends: mbcache,jbd2 +vermagic: 2.6.32-220.el6.i686 SMP mod_unload modversions 686 +filename: /ext4-ppc64.ko +license: GPL +description: Fourth Extended Filesystem +author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others +srcversion: 670806A855D5836BE150B41 +depends: jbd2,mbcache +vermagic: 2.6.32-220.el6.ppc64 SMP mod_unload modversions +filename: /ext4-s390x.ko +license: GPL +description: Fourth Extended Filesystem +author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others +srcversion: 670806A855D5836BE150B41 +depends: mbcache,jbd2 +vermagic: 2.6.32-220.el6.s390x SMP mod_unload modversions +filename: /ext4-x86_64.ko +license: GPL +description: Fourth Extended Filesystem +author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others +srcversion: A80608676B83D55514B450E +depends: mbcache,jbd2 +vermagic: 2.6.32-220.el6.x86_64 SMP mod_unload modversions diff --git a/testsuite/rootfs/test-modinfo/ext4-i686.ko b/testsuite/rootfs/test-modinfo/ext4-i686.ko new file mode 100644 index 00000000..e5d2fb75 Binary files /dev/null and b/testsuite/rootfs/test-modinfo/ext4-i686.ko differ diff --git a/testsuite/rootfs/test-modinfo/ext4-ppc64.ko b/testsuite/rootfs/test-modinfo/ext4-ppc64.ko new file mode 100644 index 00000000..cb02ed4e Binary files /dev/null and b/testsuite/rootfs/test-modinfo/ext4-ppc64.ko differ diff --git a/testsuite/rootfs/test-modinfo/ext4-s390x.ko b/testsuite/rootfs/test-modinfo/ext4-s390x.ko new file mode 100644 index 00000000..74c3799b Binary files /dev/null and b/testsuite/rootfs/test-modinfo/ext4-s390x.ko differ diff --git a/testsuite/rootfs/test-modinfo/ext4-x86_64.ko b/testsuite/rootfs/test-modinfo/ext4-x86_64.ko new file mode 100644 index 00000000..ae96eefe Binary files /dev/null and b/testsuite/rootfs/test-modinfo/ext4-x86_64.ko differ diff --git a/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.alias b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.alias new file mode 100644 index 00000000..ba76e181 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.alias @@ -0,0 +1 @@ +# Aliases extracted from modules themselves. diff --git a/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.alias.bin b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.alias.bin new file mode 100644 index 00000000..7075435f Binary files /dev/null and b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.alias.bin differ diff --git a/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin new file mode 100644 index 00000000..3c4ef2c5 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin @@ -0,0 +1 @@ +kernel/net/unix/unix.ko diff --git a/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin.bin b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin.bin new file mode 100644 index 00000000..41af3eed Binary files /dev/null and b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.builtin.bin differ diff --git a/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.dep b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.dep new file mode 100644 index 00000000..e69de29b diff --git a/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.dep.bin b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.dep.bin new file mode 100644 index 00000000..7075435f Binary files /dev/null and b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.dep.bin differ diff --git a/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.devname b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.devname new file mode 100644 index 00000000..58f6d6d6 --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/builtin/lib/modules/4.4.4/modules.softdep b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.softdep new file mode 100644 index 00000000..3cc05126 --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols new file mode 100644 index 00000000..618c345f --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols.bin b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols.bin new file mode 100644 index 00000000..7075435f Binary files /dev/null and b/testsuite/rootfs/test-modprobe/builtin/lib/modules/4.4.4/modules.symbols.bin differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/correct-psmouse.txt b/testsuite/rootfs/test-modprobe/show-depends/correct-psmouse.txt new file mode 100644 index 00000000..1e773d7a --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/correct.txt b/testsuite/rootfs/test-modprobe/show-depends/correct.txt new file mode 100644 index 00000000..52fddba3 --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko new file mode 100644 index 00000000..f4e21e07 Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/bluetooth/btusb.ko differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko new file mode 100644 index 00000000..4eac2a3d Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko new file mode 100644 index 00000000..a8949a60 Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/kernel/net/bluetooth/bluetooth.ko differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias new file mode 100644 index 00000000..94804f10 --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias.bin b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias.bin new file mode 100644 index 00000000..86481a42 Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.alias.bin differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep new file mode 100644 index 00000000..a34af87a --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep.bin b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep.bin new file mode 100644 index 00000000..33827063 Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.dep.bin differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.devname b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.devname new file mode 100644 index 00000000..58f6d6d6 --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/lib/modules/4.4.4/modules.softdep b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.softdep new file mode 100644 index 00000000..3cc05126 --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols new file mode 100644 index 00000000..b970b60d --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols.bin b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols.bin new file mode 100644 index 00000000..156a61fa Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/lib/modules/4.4.4/modules.symbols.bin differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/proc/modules b/testsuite/rootfs/test-modprobe/show-depends/proc/modules new file mode 100644 index 00000000..aab95dde --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/sys/module/bluetooth/coresize b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/coresize new file mode 100644 index 00000000..8bc14256 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/coresize @@ -0,0 +1 @@ +173424 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/holders/btusb b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/holders/btusb new file mode 120000 index 00000000..8fe6aa9e --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/holders/btusb @@ -0,0 +1 @@ +../../btusb \ No newline at end of file diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/initsize b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/initsize new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/initsize @@ -0,0 +1 @@ +0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/initstate b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/initstate new file mode 100644 index 00000000..e23fe645 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/initstate @@ -0,0 +1 @@ +live diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/notes/.note.gnu.build-id b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/notes/.note.gnu.build-id new file mode 100644 index 00000000..e9172470 Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/notes/.note.gnu.build-id differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_ertm b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_ertm new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_ertm @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_esco b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_esco new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/disable_esco @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_hs b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_hs new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_hs @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_le b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_le new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_le @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_mgmt b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_mgmt new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/parameters/enable_mgmt @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/refcnt b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/refcnt new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/refcnt @@ -0,0 +1 @@ +1 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.bss b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.bss new file mode 100644 index 00000000..ea8c54ea --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.bss @@ -0,0 +1 @@ +0xffffffffa0063fe0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.data b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.data new file mode 100644 index 00000000..a6f22548 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.data @@ -0,0 +1 @@ +0xffffffffa0063360 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.exit.text b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.exit.text new file mode 100644 index 00000000..86d3cd1e --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.exit.text @@ -0,0 +1 @@ +0xffffffffa0060c32 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.gnu.linkonce.this_module b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.gnu.linkonce.this_module new file mode 100644 index 00000000..50a15753 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.gnu.linkonce.this_module @@ -0,0 +1 @@ +0xffffffffa0063da0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.init.text b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.init.text new file mode 100644 index 00000000..921b9d90 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.init.text @@ -0,0 +1 @@ +0xffffffffa0076000 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.note.gnu.build-id b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.note.gnu.build-id new file mode 100644 index 00000000..8a4d2cec --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.note.gnu.build-id @@ -0,0 +1 @@ +0xffffffffa0060c98 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata new file mode 100644 index 00000000..24af87e0 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata @@ -0,0 +1 @@ +0xffffffffa00610e0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.1 b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.1 new file mode 100644 index 00000000..0da8d6d9 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.1 @@ -0,0 +1 @@ +0xffffffffa0062674 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.8 b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.8 new file mode 100644 index 00000000..3c0aeba4 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.rodata.str1.8 @@ -0,0 +1 @@ +0xffffffffa0062af0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.smp_locks b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.smp_locks new file mode 100644 index 00000000..d1da04cc --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.smp_locks @@ -0,0 +1 @@ +0xffffffffa00620cc diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.strtab b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.strtab new file mode 100644 index 00000000..3e03a958 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.strtab @@ -0,0 +1 @@ +0xffffffffa007b280 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.symtab b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.symtab new file mode 100644 index 00000000..9875bb4e --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.symtab @@ -0,0 +1 @@ +0xffffffffa0076300 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.text b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.text new file mode 100644 index 00000000..db229db0 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.text @@ -0,0 +1 @@ +0xffffffffa0040000 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.text.unlikely b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.text.unlikely new file mode 100644 index 00000000..4d8920f1 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/.text.unlikely @@ -0,0 +1 @@ +0xffffffffa0060c2c diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__bug_table b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__bug_table new file mode 100644 index 00000000..07fd388c --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__bug_table @@ -0,0 +1 @@ +0xffffffffa0062ac6 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__jump_table b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__jump_table new file mode 100644 index 00000000..ff0edf6f --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__jump_table @@ -0,0 +1 @@ +0xffffffffa0063d10 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab new file mode 100644 index 00000000..8542e00a --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab @@ -0,0 +1 @@ +0xffffffffa0060f80 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab_gpl b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab_gpl new file mode 100644 index 00000000..aaa45735 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__kcrctab_gpl @@ -0,0 +1 @@ +0xffffffffa00610d8 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab new file mode 100644 index 00000000..a81db94a --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab @@ -0,0 +1 @@ +0xffffffffa0060cc0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_gpl b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_gpl new file mode 100644 index 00000000..4d4c450e --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_gpl @@ -0,0 +1 @@ +0xffffffffa0060f70 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_strings b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_strings new file mode 100644 index 00000000..5290e4cf --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__ksymtab_strings @@ -0,0 +1 @@ +0xffffffffa0062fe4 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__param b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__param new file mode 100644 index 00000000..5d4be394 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/sections/__param @@ -0,0 +1 @@ +0xffffffffa00632c0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/srcversion b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/srcversion new file mode 100644 index 00000000..64bc12ee --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/srcversion @@ -0,0 +1 @@ +72F6D42DC4BD163E7718A31 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/taint b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/taint new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/taint @@ -0,0 +1 @@ + diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/version b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/version new file mode 100644 index 00000000..6d28a11d --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/bluetooth/version @@ -0,0 +1 @@ +2.16 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/coresize b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/coresize new file mode 100644 index 00000000..4b104f9a --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/coresize @@ -0,0 +1 @@ +11911 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/drivers/usb:btusb b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/drivers/usb:btusb new file mode 120000 index 00000000..c173837b --- /dev/null +++ b/testsuite/rootfs/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/test-modprobe/show-depends/sys/module/btusb/holders/.gitignore b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/holders/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/initsize b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/initsize new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/initsize @@ -0,0 +1 @@ +0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/initstate b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/initstate new file mode 100644 index 00000000..e23fe645 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/initstate @@ -0,0 +1 @@ +live diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/notes/.note.gnu.build-id b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/notes/.note.gnu.build-id new file mode 100644 index 00000000..0afeca4e Binary files /dev/null and b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/notes/.note.gnu.build-id differ diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/disable_scofix b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/disable_scofix new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/disable_scofix @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/force_scofix b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/force_scofix new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/force_scofix @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_csr b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_csr new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_csr @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_dga b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_dga new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_dga @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_sniffer b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_sniffer new file mode 100644 index 00000000..d52e7987 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/ignore_sniffer @@ -0,0 +1 @@ +N diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/reset b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/reset new file mode 100644 index 00000000..9bda8c35 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/parameters/reset @@ -0,0 +1 @@ +Y diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/refcnt b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/refcnt new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/refcnt @@ -0,0 +1 @@ +0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.bss b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.bss new file mode 100644 index 00000000..44785c0c --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.bss @@ -0,0 +1 @@ +0xffffffffa00ee708 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.data b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.data new file mode 100644 index 00000000..bfdb6032 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.data @@ -0,0 +1 @@ +0xffffffffa00edf20 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.exit.text b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.exit.text new file mode 100644 index 00000000..a504729c --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.exit.text @@ -0,0 +1 @@ +0xffffffffa00edc68 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.gnu.linkonce.this_module b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.gnu.linkonce.this_module new file mode 100644 index 00000000..2b18edc0 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.gnu.linkonce.this_module @@ -0,0 +1 @@ +0xffffffffa00ee4e0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.init.text b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.init.text new file mode 100644 index 00000000..017c50e2 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.init.text @@ -0,0 +1 @@ +0xffffffffa00f0000 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.note.gnu.build-id b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.note.gnu.build-id new file mode 100644 index 00000000..982e7c1b --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.note.gnu.build-id @@ -0,0 +1 @@ +0xffffffffa00edc7c diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata new file mode 100644 index 00000000..4988b02a --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata @@ -0,0 +1 @@ +0xffffffffa00edec0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.1 b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.1 new file mode 100644 index 00000000..52bcaf7f --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.1 @@ -0,0 +1 @@ +0xffffffffa00edd11 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.8 b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.8 new file mode 100644 index 00000000..68be4ed6 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.rodata.str1.8 @@ -0,0 +1 @@ +0xffffffffa00edca0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.smp_locks b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.smp_locks new file mode 100644 index 00000000..99783100 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.smp_locks @@ -0,0 +1 @@ +0xffffffffa00edd90 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.strtab b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.strtab new file mode 100644 index 00000000..e4fdf8e7 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.strtab @@ -0,0 +1 @@ +0xffffffffa00f0dd0 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.symtab b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.symtab new file mode 100644 index 00000000..73f8cee2 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.symtab @@ -0,0 +1 @@ +0xffffffffa00f0020 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.text b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.text new file mode 100644 index 00000000..d39dfe62 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/.text @@ -0,0 +1 @@ +0xffffffffa00ec000 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/__param b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/__param new file mode 100644 index 00000000..76e34cd5 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/sections/__param @@ -0,0 +1 @@ +0xffffffffa00ede00 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/srcversion b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/srcversion new file mode 100644 index 00000000..2d4bd990 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/srcversion @@ -0,0 +1 @@ +1FC03999655A6ECD28DC794 diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/taint b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/taint new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/taint @@ -0,0 +1 @@ + diff --git a/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/version b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/version new file mode 100644 index 00000000..5a2a5806 --- /dev/null +++ b/testsuite/rootfs/test-modprobe/show-depends/sys/module/btusb/version @@ -0,0 +1 @@ +0.6 diff --git a/testsuite/rootfs/test-new-module/from_alias/correct.txt b/testsuite/rootfs/test-new-module/from_alias/correct.txt new file mode 100644 index 00000000..6ed98ea0 --- /dev/null +++ b/testsuite/rootfs/test-new-module/from_alias/correct.txt @@ -0,0 +1,2 @@ +modname: ext4 + diff --git a/testsuite/rootfs/test-new-module/from_alias/etc/modprobe.d/modprobe.conf b/testsuite/rootfs/test-new-module/from_alias/etc/modprobe.d/modprobe.conf new file mode 100644 index 00000000..f9629a0e --- /dev/null +++ b/testsuite/rootfs/test-new-module/from_alias/etc/modprobe.d/modprobe.conf @@ -0,0 +1 @@ +alias ext4.* ext4 diff --git a/testsuite/rootfs/test-new-module/from_name/correct.txt b/testsuite/rootfs/test-new-module/from_name/correct.txt new file mode 100644 index 00000000..a75cd3b2 --- /dev/null +++ b/testsuite/rootfs/test-new-module/from_name/correct.txt @@ -0,0 +1,6 @@ +modname: ext4 +modname: balbalbalbbalbalbalbalbalbalbal +modname: snd_hda_intel +modname: snd_timer +modname: iTCO_wdt + diff --git a/testsuite/rootfs/test-rootfs/lib/modules/a b/testsuite/rootfs/test-rootfs/lib/modules/a new file mode 100644 index 00000000..837c9602 --- /dev/null +++ b/testsuite/rootfs/test-rootfs/lib/modules/a @@ -0,0 +1 @@ +kmod-test-chroot-works diff --git a/testsuite/rootfs/test-rootfs/testdir/.gitignore b/testsuite/rootfs/test-rootfs/testdir/.gitignore new file mode 100644 index 00000000..e69de29b