#!/bin/sh
# DF-0220 run: read 64 bytes from each RNG interface + show uptime.
# Runs on the DragonFly guest as the unprivileged user.
# For the cross-boot reproducibility test, run this once per fresh vm.sh reset
# and diff the /dev/urandom sections (see README.md).
set -e
cd "$(dirname "$0")"
echo "=== ref pre-reseed degenerate keystream (what a bug would emit) ==="
./ref_keystream 64
echo
echo "=== live kernel RNG (uptime + 4 sources) ==="
./rand_probe
