testsuite: check for correct error message in detect-loop
This commit is contained in:
parent
d7293a1628
commit
7a2d0e6187
|
@ -0,0 +1,3 @@
|
|||
depmod: ERROR: Found 5 modules in dependency cycles!
|
||||
depmod: ERROR: Cycle detected: moduleE -> moduleD -> moduleE
|
||||
depmod: ERROR: Cycle detected: moduleB -> moduleC -> moduleA -> moduleB
|
|
@ -125,8 +125,9 @@ static DEFINE_TEST(depmod_detect_loop,
|
|||
[TC_ROOTFS] = DETECT_LOOP_ROOTFS,
|
||||
},
|
||||
.expected_fail = true,
|
||||
);
|
||||
|
||||
.output = {
|
||||
.err = DETECT_LOOP_ROOTFS "/correct.txt",
|
||||
});
|
||||
|
||||
|
||||
static const struct test *tests[] = {
|
||||
|
|
Loading…
Reference in New Issue