Skip to content
Snippets Groups Projects
Commit bc66cb5c authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Assert that we see a warning message where expected

parent 07286e15
No related branches found
No related tags found
No related merge requests found
......@@ -819,6 +819,9 @@ SKIP: {
is(tolerant_readlink("$libdir/libunversionedsymbols.so.1"),
'/run/host/opt/libunversionedsymbols.so.1.0.0',
"should take provider's version by default if name is the same");
like($stderr,
qr{^\Q$CAPSULE_CAPTURE_LIBS_BASENAME\E: warning: libunversionedsymbols\.so\.0 has an unexpected DT_SONAME, ignoring: libunversionedsymbols\.so\.1$}m,
'stderr shows expected warning message');
run_ok(['rm', '-fr', $libdir]);
mkdir($libdir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment