#!/bin/sh
set -e -u
cp 'test-instr.c' "$ADTTMP"
cd "$ADTTMP"
make 'test-instr' CC=afl-gcc
echo 0 | afl-showmap -q -o out0 ./test-instr
echo 1 | afl-showmap -q -o out1 ./test-instr
! diff -u out0 out1
