kpatch/test/integration/rhel-7.7
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 test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
cmdline-string-LOADED.test test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
cmdline-string.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
data-new-LOADED.test test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
data-new.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
data-read-mostly.patch.disabled integration: disable tests with jump labels 2020-01-24 10:37:25 +01:00
fixup-section.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
gcc-constprop.patch.disabled test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
gcc-isra.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
gcc-mangled-3.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
gcc-static-local-var-2.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
gcc-static-local-var-3.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
gcc-static-local-var-4.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02: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 test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
gcc-static-local-var-6.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
macro-callbacks.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
macro-printk.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
meminfo-init2-FAIL.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
meminfo-init-FAIL.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
meminfo-string-LOADED.test test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
meminfo-string.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
module-call-external.patch integration: rhel-7.6 and 7.7 module-call-external fix unsupported sibling call 2020-01-24 10:37:35 +01:00
multiple.test test/integration: Make multiple.test cleanup after itself 2019-10-08 08:31:39 +01:00
new-function.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
new-globals.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
parainstructions-section.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
shadow-newpid-LOADED.test test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
shadow-newpid.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
smp-locks-section.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
special-static.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
tracepoints-section.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00
warn-detect-FAIL.patch test/integration: add rhel-7.7 rebased patches 2019-08-12 14:36:16 +02:00