post-scarcity/unit-tests/string-allocation.sh
Simon Brooke 93b84087ce There's an enormous lot of good stuff in this, but I've messed up print
almost certainly by writing a non-wide character to a wide stream.
2018-12-07 20:09:33 +00:00

15 lines
258 B
Bash

#!/bin/bash
value='"Fred"'
expected="String cell: character 'F' (70)"
echo ${value} | target/psse -d 2>/dev/null | grep "${expected}" > /dev/null
if [ $? -eq 0 ]
then
echo "OK"
exit 0
else
echo "Expected '${expected}', not found"
exit 1
fi