#!/bin/sh
# DF-0777 run script
# Prerequisites: a corrupted hammer2 image must be mounted at /mnt/h2
# Use craft_img.py on the host to create the corrupted image, then:
#   vnconfig -c vn0 /path/to/h2_corrupt.img
#   mkdir -p /mnt/h2
#   mount_hammer2 -o ro /dev/vn0@DATA /mnt/h2
#   chmod 755 /mnt/h2
set -e
cd "$(dirname "$0")"
./readdir_leak /mnt/h2
