X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/debf08b0415cf0f9d35338cfb280bde8628619eb..4de0821a28d54153c6046655d4a2d8f57da7e005:/build/run-tests.sh diff --git a/build/run-tests.sh b/build/run-tests.sh index 1d6e2ff7c7..c926fe87a1 100755 --- a/build/run-tests.sh +++ b/build/run-tests.sh @@ -91,6 +91,7 @@ lib/dispatchcloud/scheduler lib/dispatchcloud/ssh_executor lib/dispatchcloud/worker lib/mount +lib/pam lib/service services/api services/arv-git-httpd @@ -108,8 +109,6 @@ services/crunch-dispatch-local services/crunch-dispatch-slurm services/ws sdk/cli -sdk/pam -sdk/pam:py3 sdk/python sdk/python:py3 sdk/ruby @@ -163,9 +162,12 @@ temp_preserve= clear_temp() { if [[ -z "$temp" ]]; then - # we didn't even get as far as making a temp dir + # we did not even get as far as making a temp dir : elif [[ -z "$temp_preserve" ]]; then + # Go creates readonly dirs in the module cache, which cause + # "rm -rf" to fail unless we chmod first. + chmod -R u+w "$temp" rm -rf "$temp" else echo "Leaving behind temp dirs in $temp" @@ -260,7 +262,7 @@ sanity_checks() { || fatal "No libpq libpq-fe.h. Try: apt-get install libpq-dev" echo -n 'libpam pam_appl.h: ' find /usr/include -path '*/security/pam_appl.h' | egrep --max-count=1 . \ - || fatal "No libpam pam_appl.h. Try: apt-get install libpam-dev" + || fatal "No libpam pam_appl.h. Try: apt-get install libpam0g-dev" echo -n 'postgresql: ' psql --version || fatal "No postgresql. Try: apt-get install postgresql postgresql-client-common" echo -n 'phantomjs: ' @@ -989,7 +991,6 @@ install_services/api() { declare -a pythonstuff pythonstuff=( - sdk/pam sdk/python sdk/python:py3 sdk/cwl:py3