1
hermetic_cc_toolchain/test/c/test.sh

21 lines
310 B
Bash
Raw Normal View History

#!/bin/sh
# Copyright 2023 Uber Technologies, Inc.
# Licensed under the MIT License
set -eu
# shellcheck disable=SC2153
want=$WANT
# shellcheck disable=SC2153
binary=$BINARY
got=$($binary)
2022-10-13 12:48:43 +03:00
if [ "$got" != "$want" ]; then
echo wanted:
echo \ \ "$want"
echo got:
echo \ \ "$got"
exit 1
fi