#!/bin/sh

# Exit on failure immediately
set -e

# Specifies testfile containing 1K of zeros
TESTFILE="${AUTOPKGTEST_TMP}/zeros.dmp"
truncate -s 1K ${TESTFILE}

# Run rsakeyfind with zero-filled dump
# This is needed, since rsakeyfind returns 1 upon calling without parameters
rsakeyfind ${TESTFILE}

# Clean up
rm ${TESTFILE}

exit 0
