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 52a6621..1cace82 100644 (file)
@@ -114,6 +114,7 @@ DEFINE_TEST(modprobe_show_exports,
        },
        .output = {
                .out = TESTSUITE_ROOTFS "test-modprobe/show-exports/correct.txt",
+               .regex = true,
        });