Files
linuxcncAllWasm/tests/symbols.1/checkresult
2026-08-20 06:17:39 +08:00

9 lines
211 B
Bash
Executable File

#!/bin/sh
set -e
tail -2 "$1" | (
read -r v0
if [ "$v0" -eq 0 ] ; then echo "Value0 should be nonzero"; exit 1; fi
read -r v1
if [ "$v1" -ne 0 ] ; then echo "Value1 should be zero"; exit 1; fi
)