diff options
author | Aaron Merey <amerey@redhat.com> | 2020-02-10 15:20:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-02-10 15:20:41 +0000 |
commit | 678d457fb7b822d2a5277ed154a1808eadb3593d (patch) | |
tree | ad30b49a03201d6c8db76478114c07a54e291f33 /binutils | |
parent | 85f0dd3ce8b249638e00f9e43153b712705a3347 (diff) | |
download | binutils-678d457fb7b822d2a5277ed154a1808eadb3593d.zip binutils-678d457fb7b822d2a5277ed154a1808eadb3593d.tar.gz binutils-678d457fb7b822d2a5277ed154a1808eadb3593d.tar.bz2 |
Fix potential problem with binutils debuginfod tests.
* binutils/testsuite/binutils-all/debuginfod.exp:
Replace set ::env with setenv.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/debuginfod.exp | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 20f4056..992e36d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/testsuite/binutils-all/debuginfod.exp b/binutils/testsuite/binutils-all/debuginfod.exp index 596fcf5..d73073e 100644 --- a/binutils/testsuite/binutils-all/debuginfod.exp +++ b/binutils/testsuite/binutils-all/debuginfod.exp @@ -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. |