kpatch/test/integration/linux-6.2.0/module-LOADED.test

10 lines
205 B
Bash
Executable File

#!/bin/bash
set -o errexit
sudo modprobe xfs
sleep 5
echo "file fs/xfs/xfs_stats.c +p" > /sys/kernel/debug/dynamic_debug/control
grep -q kpatch /sys/fs/xfs/stats/stats
dmesg | grep -q "kpatch: pr_debug"