#!/usr/bin/env bash echo "Test Probes: FILEMD5 test" > /tmp/test_probes_filemd5.tmp cat < filemd5 1.0 5.4 2008-03-31T00:00:00-00:00 /tmp test_probes_filemd5.tmp /tmp test_probes_filemd5.invalid /tmp test_probes_filemd5.tmp `md5sum /tmp/test_probes_filemd5.tmp | awk '{print $1}'` /tmp test_probes_filemd5.tmp incorrect-md5 EOF