1
Fork 0
hermetic_cc_toolchain/test/c/test.sh

17 lines
193 B
Bash
Raw Normal View History

#/bin/bash
set -euo pipefail
want=$WANT
binary=$BINARY
got=$($binary)
if [[ "$got" != "$want" ]]; then
echo wanted:
echo \ \ "$want"
echo got:
echo \ \ "$got"
exit 1
fi