#!/bin/sh
# DF-2853 run (inside the guest as root).  Load the module; the module
# prints its findings to the console/dmesg and leaves the corrupted rman
# registered (visible to unprivileged hw.bus.rman readers) until unload.
set -e
cd "$(dirname "$0")"
kldload ./rman_overlap.ko
dmesg | grep 'rman_overlap:' | tail -30
