]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite: move --show-exports test to use regex
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 18 Dec 2018 23:37:35 +0000 (15:37 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 3 Jan 2019 20:43:18 +0000 (12:43 -0800)
This allows it to pass if the kernel is configured with
CONFIG_MODVERSIONS.

testsuite/rootfs-pristine/test-modprobe/show-exports/correct.txt
testsuite/test-modprobe.c

index bc2d045f663033ab44e98617f0019526912cc371..0d659ef3e3b85bcba13be08272fe27b1ad16c6f4 100644 (file)
@@ -1 +1 @@
-0x00000000     printA
+0x[0-9a-fA-F]+ printA
index 52a662138d6565bf1a9d6a5045872dc4569d84c6..1cace829827d5b0b006ef801a2a32fdc9c934d03 100644 (file)
@@ -114,6 +114,7 @@ DEFINE_TEST(modprobe_show_exports,
        },
        .output = {
                .out = TESTSUITE_ROOTFS "test-modprobe/show-exports/correct.txt",
+               .regex = true,
        });