diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-01 20:53:40 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-01 20:53:40 +0200 |
commit | 10455aeff228042ee769205e43788d0e81cde910 (patch) | |
tree | e3cd766aed1e78977184efcae5beed32c8d38f2f /src/test/test_rust.sh | |
parent | d9010c5b67a60e9f0b9051ba6597005e33e58266 (diff) | |
download | tor-10455aeff228042ee769205e43788d0e81cde910.tar.gz tor-10455aeff228042ee769205e43788d0e81cde910.zip |
Fix shellcheck warnings in test_rust.sh
Diffstat (limited to 'src/test/test_rust.sh')
-rwxr-xr-x | src/test/test_rust.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_rust.sh b/src/test/test_rust.sh index 00b3e88d37..da2bd32d21 100755 --- a/src/test/test_rust.sh +++ b/src/test/test_rust.sh @@ -16,10 +16,10 @@ for cargo_toml_dir in "${abs_top_srcdir:-../../..}"/src/rust/*; do if [ -e "${cargo_toml_dir}/Cargo.toml" ]; then cd "${abs_top_builddir:-../../..}/src/rust" && \ CARGO_TARGET_DIR="${abs_top_builddir:-../../..}/src/rust/target" \ - "${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} \ + "${CARGO:-cargo}" test "${CARGO_ONLINE-'--frozen'}" \ --features "test_linking_hack" \ - --target $rustc_host \ - ${EXTRA_CARGO_OPTIONS} \ + --target "$rustc_host" \ + "${EXTRA_CARGO_OPTIONS}" \ --manifest-path "${cargo_toml_dir}/Cargo.toml" || exitcode=1 fi done |