post-scarcity/unit-tests/integer.sh

14 lines
214 B
Bash
Executable file

#!/bin/bash
expected='354'
actual=`echo ${expected} | target/psse | tail -1`
if [ "${expected}" = "${actual}" ]
then
echo "OK"
exit 0
else
echo "Expected '${expected}', got '${actual}'"
exit 1
fi