Skip to content

Commit

Permalink
Use $CARGO instead of cargo in test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Dec 30, 2023
1 parent 06699c2 commit e9eefee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test_crates/catch_std_exception/check.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
trap "rm -f run.log" EXIT
cargo run --release $BUILD_STD 2>&1 | tee run.log
${CARGO:-cargo} run --release $BUILD_STD 2>&1 | tee run.log
if [ $? -ne 134 ]; then
echo process is not aborted
exit 1
Expand Down
2 changes: 1 addition & 1 deletion test_crates/std_catch_exception/check.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
trap "rm -f run.log" EXIT
cargo run --release $BUILD_STD 2>&1 | tee run.log
${CARGO:-cargo} run --release $BUILD_STD 2>&1 | tee run.log
if [ $? -ne 134 ]; then
echo process is not aborted
exit 1
Expand Down
2 changes: 1 addition & 1 deletion test_crates/throw_and_catch/check.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
trap "rm -f run.log" EXIT
cargo run --release $BUILD_STD 2>&1 | tee run.log
${CARGO:-cargo} run --release $BUILD_STD 2>&1 | tee run.log
if [ $? -ne 134 ]; then
echo process is not aborted
exit 1
Expand Down

0 comments on commit e9eefee

Please sign in to comment.