Fix potential problem with binutils debuginfod tests.

* binutils/testsuite/binutils-all/debuginfod.exp:
	Replace set ::env with setenv.
This commit is contained in:
Aaron Merey 2020-02-10 15:20:41 +00:00 committed by Nick Clifton
parent 85f0dd3ce8
commit 678d457fb7
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2020-02-10 Aaron Merey <amerey@redhat.com>
* binutils/testsuite/binutils-all/debuginfod.exp:
Replace set ::env with setenv.
2020-02-07 Nick Clifton <nickc@redhat.com>
* README-how-to-make-a-release: Add note about updating the

View File

@ -78,9 +78,9 @@ set port [exec sh -c "while true; do PORT=`expr '(' \$RANDOM % 1000 ')' + 9000`;
# Specify the directory that files retrieved from the server are written to.
set cache [file join [pwd] "tmpdir/.debuginfod_cache"]
set ::env(DEBUGINFOD_URLS) http://127.0.0.1:$port
set ::env(DEBUGINFOD_TIMEOUT) 30
set ::env(DEBUGINFOD_CACHE_PATH) $cache
setenv DEBUGINFOD_URLS http://127.0.0.1:$port
setenv DEBUGINFOD_TIMEOUT 30
setenv DEBUGINFOD_CACHE_PATH $cache
# Move debug files into another directory so that readelf and objdump cannot
# find them without debuginfod.