mirror of
https://github.com/dynup/kpatch
synced 2025-02-18 02:37:01 +00:00
Provides integration tests for rhel-8.9 (kernel-4.18.0-513.5.1.el8_9), note that module.test is from the linux-6.2/ directory and not rhel-8.8/ Signed-off-by: Ryan Sullivan <rysulliv@redhat.com>
12 lines
356 B
Bash
Executable File
12 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
|
|
sudo modprobe xfs
|
|
sleep 5
|
|
grep -q kpatch /sys/fs/xfs/stats/stats
|
|
# TODO: This will trigger a printk on newer kernels which have the .klp.arch
|
|
# removal. Don't actually do the grep until running on a newer kernel.
|
|
echo "file fs/xfs/xfs_stats.c +p" > /sys/kernel/debug/dynamic_debug/control
|
|
# dmesg | grep -q "kpatch: pr_debug"
|