mirror of
https://github.com/dynup/kpatch
synced 2025-03-02 08:50:43 +00:00
Merge pull request #1087 from kamalesh-babulal/rhel-8-1-test-files
test/integration: rhel-8.1 Add missing *.test files
This commit is contained in:
commit
3e5210315f
3
test/integration/rhel-8.1/cmdline-string-LOADED.test
Executable file
3
test/integration/rhel-8.1/cmdline-string-LOADED.test
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
grep kpatch=1 /proc/cmdline
|
3
test/integration/rhel-8.1/data-new-LOADED.test
Executable file
3
test/integration/rhel-8.1/data-new-LOADED.test
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
grep "kpatch: 5" /proc/meminfo
|
8
test/integration/rhel-8.1/gcc-static-local-var-4.test.disabled
Executable file
8
test/integration/rhel-8.1/gcc-static-local-var-4.test.disabled
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -o pipefail
|
||||||
|
if ! $(eu-readelf --wide --symbols test-gcc-static-local-var-4.ko | awk '$NF == "free_ioctx" { exit 1 }'); then
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
exit 0
|
||||||
|
fi
|
3
test/integration/rhel-8.1/meminfo-string-LOADED.test
Executable file
3
test/integration/rhel-8.1/meminfo-string-LOADED.test
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
grep VMALLOCCHUNK /proc/meminfo
|
7
test/integration/rhel-8.1/multiple.test
Executable file
7
test/integration/rhel-8.1/multiple.test
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SCRIPTDIR="$(readlink -f $(dirname $(type -p $0)))"
|
||||||
|
|
||||||
|
declare -a blacklist=(meminfo-string-LOADED.test)
|
||||||
|
|
||||||
|
source ${SCRIPTDIR}/../common/multiple.template
|
3
test/integration/rhel-8.1/shadow-newpid-LOADED.test
Executable file
3
test/integration/rhel-8.1/shadow-newpid-LOADED.test
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
grep -q newpid: /proc/$$/status
|
Loading…
Reference in New Issue
Block a user