diff options
author | Jeremy Koritzinsky <jkoritzinsky@gmail.com> | 2019-02-05 10:38:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 10:38:57 -0800 |
commit | 4052214dd4be021ed41680a43360fe886db73d61 (patch) | |
tree | 20d04819e1ac9d710ecd06f36aaa1a39a91c1240 /tests/setup-stress-dependencies.sh | |
parent | 98b0e9a2b67c668fc9c29f3c12ecb02a1a535154 (diff) | |
download | coreclr-4052214dd4be021ed41680a43360fe886db73d61.tar.gz coreclr-4052214dd4be021ed41680a43360fe886db73d61.tar.bz2 coreclr-4052214dd4be021ed41680a43360fe886db73d61.zip |
Correctly error out gracefully on setup-stress-dependencies when libcoredistools isn't available. (#22357)
Diffstat (limited to 'tests/setup-stress-dependencies.sh')
-rwxr-xr-x | tests/setup-stress-dependencies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/setup-stress-dependencies.sh b/tests/setup-stress-dependencies.sh index a7f3c498c1..e4ed04050a 100755 --- a/tests/setup-stress-dependencies.sh +++ b/tests/setup-stress-dependencies.sh @@ -117,7 +117,7 @@ fi # Get library path libPath=`find $packageDir | grep $rid | grep -m 1 libcoredistools` -if [ ! -e $libPath ]; then +if [ ! -e $libPath ] || [ -z "$libpath" ]; then exit_with_error 1 'Failed to locate the downloaded library' fi |