Further small changes on the way to a reader.

This commit is contained in:
Simon Brooke 2026-04-01 08:50:35 +01:00
parent a302663b32
commit cc8e96eda4
4 changed files with 60 additions and 3 deletions

View file

@ -3,9 +3,9 @@
value='"Fred"'
expected="String cell: character 'F'"
# set! protects "Fred" from the garbage collector.
actual=`echo "(set! x ${value})" | target/psse -d 2>&1 | grep "$expected" | sed 's/ *\(.*\) next.*$/\1/'`
actual=`echo "(set! x ${value})" | target/psse -d 2>&1 | grep "$expected" # | sed 's/ *\(.*\) next.*$/\1/'`
if [ $? -eq 0 ]
if [ "${expected}" = "${actual}" ]
then
echo "OK"
exit 0