kpatch/test/integration/ubuntu-16.04
Joe Lawrence 54268bfb3e integration: update gcc-static-local-var-4.test
The gcc-static-local-var-4.patch and test check that unmodified
functions that contain dynamic debugging printk's aren't incorrectly
included in the resulting livepatch .ko.

Note that on RHEL-7.7 ppc64le, the gcc-static-local-var-4.ko livepatch
module may include klp-relocation references to free_ioctx(), a function
that would match the above criteria.  These klp-relocation symbols are
OK as they are only used for referencing said functions, they are not
copies that the check should FAIL on.

Modify gcc-static-local-var-4.test in a few ways:

  - Use eu-readelf instead of readelf, which some versions have problems
    handling klp-relocations.

  - Set pipefail to catch any errors in the symbol table dump (missing
    elfutils, etc.)

  - Instead of a grep regex, use awk to string compare exact function
    and module names.  This avoids matching on .klp.sym prefixed
    klp-relocation symbols.

Fixes #1069.
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2020-02-14 16:09:37 -05:00
..
bug-table-section.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
cmdline-string-LOADED.test testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
cmdline-string.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
data-new-LOADED.test testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
data-new.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
data-read-mostly.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
fixup-section.patch Update fixup-section patches 2019-05-15 10:28:45 +02:00
gcc-constprop.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
gcc-isra.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
gcc-mangled-3.patch.disabled integration/ubuntu1604: disable gcc-mangled-3.patch 2019-01-11 10:27:26 +01:00
gcc-static-local-var-2.patch Testcase: Clean up gcc-static-local-var-2 2018-04-06 12:11:05 +05:30
gcc-static-local-var-3.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
gcc-static-local-var-4.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
gcc-static-local-var-4.test integration: update gcc-static-local-var-4.test 2020-02-14 16:09:37 -05:00
gcc-static-local-var-5.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
gcc-static-local-var-6.patch Testing: Add testcase for correlating static local variable 2018-04-05 09:44:45 -05:00
gcc-static-local-var.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
macro-callbacks.patch integration/ubuntu1604: replace macro-hooks.patch with macro-callbacks.patch 2019-01-11 10:28:10 +01:00
macro-printk.patch integration/ubuntu1604: macro-printk.patch rebase 2019-01-11 10:28:10 +01:00
meminfo-cmdline-rebuild-SLOW-LOADED.test.disabled integration/ubuntu1604: temporary disable -SLOW patch 2019-01-11 10:30:43 +01:00
meminfo-cmdline-rebuild-SLOW.patch.disabled integration/ubuntu1604: temporary disable -SLOW patch 2019-01-11 10:30:43 +01:00
meminfo-init2-FAIL.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
meminfo-init-FAIL.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
meminfo-string-LOADED.test testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
meminfo-string.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
module-call-external.patch.disable integration/ubuntu1604: disable module-call-external.patch 2019-01-11 10:32:04 +01:00
module-kvm-fixup.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
multiple.test test/integration: Make multiple.test cleanup after itself 2019-10-08 08:31:39 +01:00
new-function.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
new-globals.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
parainstructions-section.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
README testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
replace-section-references.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
smp-locks-section.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
special-static-2.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
special-static.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
tracepoints-section.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00
warn-detect-FAIL.patch testing: add and rebase integration tests for Ubuntu 16 2016-12-16 16:06:49 -05:00

4.4.0-53-generic