forked from ariadne/pkgconf
tests: add regression test for billion-laughs
parent
628b2b2baf
commit
2f51733e34
|
@ -30,7 +30,8 @@ tests_init \
|
||||||
malformed_quoting \
|
malformed_quoting \
|
||||||
explicit_sysroot \
|
explicit_sysroot \
|
||||||
empty_tuple \
|
empty_tuple \
|
||||||
solver_requires_private_debounce
|
solver_requires_private_debounce \
|
||||||
|
billion_laughs
|
||||||
|
|
||||||
# sysroot_munge \
|
# sysroot_munge \
|
||||||
|
|
||||||
|
@ -266,3 +267,9 @@ solver_requires_private_debounce_body()
|
||||||
atf_check -o inline:"-I/metapackage-1 -I/metapackage-2 -lmetapackage-1 -lmetapackage-2 \n" \
|
atf_check -o inline:"-I/metapackage-1 -I/metapackage-2 -lmetapackage-1 -lmetapackage-2 \n" \
|
||||||
pkgconf --with-path="${selfdir}/lib1" --cflags --libs metapackage
|
pkgconf --with-path="${selfdir}/lib1" --cflags --libs metapackage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
billion_laughs_body()
|
||||||
|
{
|
||||||
|
atf_check -o inline:"warning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\n" \
|
||||||
|
pkgconf --with-path="${selfdir}/lib1" --validate billion-laughs
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue