It's still broken, but it's broken because of fundamental misunderstanding which tinkering won't solve.
13 lines
223 B
Bash
Executable file
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
|