summaryrefslogtreecommitdiff
path: root/tests/symbols.1/checkresult
blob: cab2f8fb6f5c85066aac1ceeec505760c8a64784 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e
tail -2 $1 | (
    read v0
    if [ $v0 -eq 0 ] ; then echo "Value0 should be nonzero"; exit 1; fi
    read v1
    if [ $v1 -ne 0 ] ; then echo "Value1 should be zero"; exit 1; fi
)