This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/4] binutils/testsuite: Replace set ::env with setenv


binutils/testsuite: Replace set ::env with setenv.

	* binutils/testsuite/binutils-all/debuginfod.exp:
	Replace set ::env with setenv.
---
 binutils/testsuite/binutils-all/debuginfod.exp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/binutils/testsuite/binutils-all/debuginfod.exp b/binutils/testsuite/binutils-all/debuginfod.exp
index 596fcf58df..d73073ef17 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.
-- 
2.23.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]