Unverified Commit 9ecdf8db authored by boklm's avatar boklm
Browse files

Turn some readelf_* tests into warnings

Make readelf_RELRO, readelf_stack_canary, readelf_no_rpath tests produce
warnings rather than errors on failure.
parent da91887d
...@@ -56,6 +56,7 @@ our %testsuite = ( ...@@ -56,6 +56,7 @@ our %testsuite = (
our @tests = ( our @tests = (
{ {
name => 'readelf_RELRO', name => 'readelf_RELRO',
fail_type => 'warning',
type => 'command', type => 'command',
descr => 'Check if binaries are RELocation Read-Only', descr => 'Check if binaries are RELocation Read-Only',
files => \&tbb_binfiles, files => \&tbb_binfiles,
...@@ -66,6 +67,7 @@ our @tests = ( ...@@ -66,6 +67,7 @@ our @tests = (
}, },
{ {
name => 'readelf_stack_canary', name => 'readelf_stack_canary',
fail_type => 'warning',
type => 'command', type => 'command',
descr => 'Check for stack canary support', descr => 'Check for stack canary support',
files => \&tbb_binfiles, files => \&tbb_binfiles,
...@@ -93,6 +95,7 @@ our @tests = ( ...@@ -93,6 +95,7 @@ our @tests = (
}, },
{ {
name => 'readelf_no_rpath', name => 'readelf_no_rpath',
fail_type => 'warning',
type => 'command', type => 'command',
descr => 'Check for no rpath', descr => 'Check for no rpath',
files => \&tbb_binfiles, files => \&tbb_binfiles,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment