mirror of
https://github.com/dynup/kpatch
synced 2025-04-30 15:07:57 +00:00
test/integration: rhel-8.1 Add missing *.test files
Add the missing *.test files in test/integration/rhel-8.1 [Artem Savkov: Suggested to disable gcc-static-local-var-4.test] Suggested-by: Artem Savkov <asavkov@redhat.com> Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
This commit is contained in:
parent
421df07ffa
commit
2e4309eebb
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