Fix potential problem with binutils debuginfod tests.
authorAaron Merey <amerey@redhat.com>
Mon, 10 Feb 2020 15:20:41 +0000 (15:20 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 10 Feb 2020 15:20:41 +0000 (15:20 +0000)
* binutils/testsuite/binutils-all/debuginfod.exp:
Replace set ::env with setenv.

binutils/ChangeLog
binutils/testsuite/binutils-all/debuginfod.exp

index 20f4056f86a4c571d4d5fc410c6db01f64266ba6..992e36dfacbd61195a9873e9a749a15150ac2102 100644 (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
index 596fcf58df802952845e1c1a3412c539907ebbcb..d73073ef17518ca25e0d47bb65ae391184899e59 100644 (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.
This page took 0.024726 seconds and 4 git commands to generate.