#!/bin/sh
# DF-0804 run: craft a HAMMER2 image with an out-of-range DATA-bref compression
# method, mount it, and read the file. On an unpatched kernel this panics in
# hammer2_strategy_read_completion; on a fixed kernel the read returns EIO.
#
# Must be run as root on a DragonFlyBSD guest with hammer2 in the kernel.
# python3 is required for corrupt_image.py (pure-python XXH64/CRC32C, no deps).
exec sh "$(dirname "$0")/trigger.sh" "$@"
