diff options
author | teor <teor@torproject.org> | 2018-08-10 11:22:36 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2018-08-10 11:22:36 +1000 |
commit | c9ad16ca2a2aff63fc4814c843cd376c76e43095 (patch) | |
tree | 9772b17470bf473e0367157ae69f081415510327 | |
parent | ce19477ffcdf64255f050308182f3d682e6f6de1 (diff) | |
download | tor-c9ad16ca2a2aff63fc4814c843cd376c76e43095.tar.gz tor-c9ad16ca2a2aff63fc4814c843cd376c76e43095.zip |
Fix $abs_top_srcdir in test_rust.sh
Consistently use ../../.. as a fallback for $abs_top_srcdir in
test_rust.sh.
Fixes bug 27093; bugfix on 0.3.4.3-alpha.
-rw-r--r-- | changes/bug27093 | 3 | ||||
-rwxr-xr-x | src/test/test_rust.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug27093 b/changes/bug27093 new file mode 100644 index 0000000000..6c097f1196 --- /dev/null +++ b/changes/bug27093 @@ -0,0 +1,3 @@ + o Minor bugfixes (rust): + - Consistently use ../../.. as a fallback for $abs_top_srcdir in + test_rust.sh. Fixes bug 27093; bugfix on 0.3.4.3-alpha. diff --git a/src/test/test_rust.sh b/src/test/test_rust.sh index 9ad7a698ad..2761b612b5 100755 --- a/src/test/test_rust.sh +++ b/src/test/test_rust.sh @@ -3,7 +3,7 @@ set -e -export LSAN_OPTIONS=suppressions=${abs_top_srcdir}/src/test/rust_supp.txt +export LSAN_OPTIONS=suppressions=${abs_top_srcdir:-../../..}/src/test/rust_supp.txt for cargo_toml_dir in "${abs_top_srcdir:-../../..}"/src/rust/*; do if [ -e "${cargo_toml_dir}/Cargo.toml" ]; then |