#!/usr/bin/env bash echo "Test Probes: FILEHASH test" > /tmp/test_probes_filehash58.tmp cat < filehash58 1.0 5.11 2011-07-14T00:00:00-00:00 /tmp test_probes_filehash58.tmp SHA-512 /tmp test_probes_filehash58.invalid SHA-512 /tmp/test_probes_filehash58.tmp /tmp test_probes_filehash58.tmp SHA-512 `sha512sum /tmp/test_probes_filehash58.tmp | awk '{print $1}'` /tmp test_probes_filehash58.tmp SHA-512 ce66ae981bfdcb0a5b63e296792662caf3e9c0414d1053593876f38fc1afdaffb89fdbe016a21e7357209fbaa611644307d589780cca97c04df0052bc903af22 /tmp test_probes_filehash58.tmp SHA-256 SHA-512 `sha256sum /tmp/test_probes_filehash58.tmp | awk '{print $1}'` 0bdf537d823dfb9194c25f2a444ac38fc177fc3ed2160acf7c15e3a07ccc600a8303e2a0e8ce50659395e0ab02910404e2134997b105794a167387de45f24768 EOF