github.phpd.cn/thought-machine/please@v12.2.0+incompatible/test/cross_compile/bin_test.sh (about) 1 #!/bin/bash 2 set -eu 3 4 if [ "`test/cross_compile/bin`" != "42" ]; then 5 echo "unexpected output" 6 exit 1 7 fi 8 if [ ! `file test/cross_compile/bin | grep 32-bit` ]; then 9 echo "unexpected architecture of binary" 10 exit 1 11 fi