| 1 | #!/bin/sh |
| 2 | |
| 3 | # Exit on failure immediately |
| 4 | set -e |
| 5 | |
| 6 | # Specifies testfile containing 1K of zeros |
| 7 | TESTFILE="${AUTOPKGTEST_TMP}/zeros.dmp" |
| 8 | truncate -s 1K ${TESTFILE} |
| 9 | |
| 10 | # Run rsakeyfind with zero-filled dump |
| 11 | # This is needed, since rsakeyfind returns 1 upon calling without parameters |
| 12 | rsakeyfind ${TESTFILE} |
| 13 | |
| 14 | # Clean up |
| 15 | rm ${TESTFILE} |
| 16 | |
| 17 | exit 0 |