diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2018-12-18 15:37:35 -0800 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-01-03 12:43:18 -0800 |
commit | eb862179c06bb1198ca7f3957e2d462e51da4d18 (patch) | |
tree | 7cf98f70b47763e63d7ddf01d45f55af09887a6d /testsuite | |
parent | c0937526b24dcd6b97e67d259ae15e9f2e0c4396 (diff) | |
download | kmod-eb862179c06bb1198ca7f3957e2d462e51da4d18.tar.gz kmod-eb862179c06bb1198ca7f3957e2d462e51da4d18.tar.bz2 kmod-eb862179c06bb1198ca7f3957e2d462e51da4d18.zip |
testsuite: move --show-exports test to use regex
This allows it to pass if the kernel is configured with
CONFIG_MODVERSIONS.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/rootfs-pristine/test-modprobe/show-exports/correct.txt | 2 | ||||
-rw-r--r-- | testsuite/test-modprobe.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/rootfs-pristine/test-modprobe/show-exports/correct.txt b/testsuite/rootfs-pristine/test-modprobe/show-exports/correct.txt index bc2d045..0d659ef 100644 --- a/testsuite/rootfs-pristine/test-modprobe/show-exports/correct.txt +++ b/testsuite/rootfs-pristine/test-modprobe/show-exports/correct.txt @@ -1 +1 @@ -0x00000000 printA +0x[0-9a-fA-F]+ printA diff --git a/testsuite/test-modprobe.c b/testsuite/test-modprobe.c index 52a6621..1cace82 100644 --- a/testsuite/test-modprobe.c +++ b/testsuite/test-modprobe.c @@ -114,6 +114,7 @@ DEFINE_TEST(modprobe_show_exports, }, .output = { .out = TESTSUITE_ROOTFS "test-modprobe/show-exports/correct.txt", + .regex = true, }); |