From e449c3b03ae53a6b90affaad467e8e81df55600c Mon Sep 17 00:00:00 2001 From: Todd Lyons Date: Thu, 14 Aug 2014 12:36:34 -0700 Subject: Properly detect/set test variables from scripts. --- test/runtest | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/runtest b/test/runtest index a6c4f0acd..c3faa4262 100755 --- a/test/runtest +++ b/test/runtest @@ -3358,9 +3358,20 @@ foreach $test (@test_list) undef %expected_msglogs; # Open the test's script - open(SCRIPT, "scripts/$test") || tests_exit(-1, "Failed to open \"scripts/$test\": $!"); + # Run through the script once to set variables which should be global + while (