post-scarcity/unit-tests/eval-quote-symbol.sh

13 lines
223 B
Bash
Executable file

#!/bin/bash
expected='(Special form)'
actual=`echo "(eval 'cond)" | target/psse | tail -1`
if [ "${expected}" = "${actual}" ]
then
echo "OK"
else
echo "Fail: expected '${expected}', got '${actual}'"
exit 1
fi