Added more unit tests.
This commit is contained in:
parent
8026138b9c
commit
6eab3a531a
9 changed files with 60 additions and 7 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
expected=\"Fred\"
|
||||
actual=`echo '"Fred"' | target/psse 2> /dev/null`
|
||||
actual=`echo ${expected} | target/psse 2> /dev/null`
|
||||
|
||||
if [ "$expected" = "$actual" ]
|
||||
if [ "${expected}" = "{$actual}" ]
|
||||
then
|
||||
echo "OK"
|
||||
exit 0
|
||||
else
|
||||
echo "Expected '$expected', got '$actual'"
|
||||
echo "Fail: expected '$expected', got '$actual'"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue