raw
keksum_genesis_3        1 # Self-generated, but at least provides a smoke test.
keksum_genesis_3 2
keksum_genesis_3 3 a=`yes "hello world" | dd bs=1 count=65537 2>/dev/null | ./keksum -s512`
keksum_genesis_3 4 b='b232e58c04350243b312d2ecc4e4d58180c116812cff76cf20b632303ebc11d705f3f2c0b9034db6ec2e821b9b46ea28efd10f11366db06ef09d74efdab876ec'
keksum_genesis_3 5
keksum_genesis_3 6 if [ "$a" = "$b" ]; then
keksum_genesis_3 7 printf 'PASS\n'
keksum_genesis_3 8 else
keksum_genesis_3 9 printf 'FAIL:\n%s\n%s\n' "$a" "$b"
keksum_genesis_3 10 false
keksum_genesis_3 11 fi