Rename test crate, because test is no longer a valid crate name

This commit is contained in:
Eric Kidd 2016-09-12 06:43:11 -04:00
parent a91a976873
commit c6ed680715

View file

@ -13,11 +13,11 @@ docker build -t rust-musl-zlib -f Dockerfile.example .
docker run --rm ekidd/rust-musl-builder bash -c " docker run --rm ekidd/rust-musl-builder bash -c "
set -euo pipefail set -euo pipefail
export USER=rust export USER=rust
cargo new --vcs none --bin test cargo new --vcs none --bin testme
cd test cd testme
cargo build cargo build
echo 'Checking to make sure it is not a dynamic executable' echo 'Checking to make sure it is not a dynamic executable'
if ldd target/x86_64-unknown-linux-musl/debug/test; then if ldd target/x86_64-unknown-linux-musl/debug/testme; then
echo 'Executable is not static!' 1>&2 echo 'Executable is not static!' 1>&2
echo 'FAIL.' 1>&2 echo 'FAIL.' 1>&2
exit 1 exit 1