aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-05-01 10:51:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-05-01 10:51:16 +0000
commit7b2531da244f4756c6652c627651bec7f0e91690 (patch)
tree5edf8c2de8b13e09772cffa81ff79dd90e36d73b
parent848a13654d594dfab866f7b71db610211a1125a6 (diff)
do variable replacement in the stdout data read from the test case
-rwxr-xr-xtests/runtests.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index f0830744e..664098971 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2180,6 +2180,9 @@ sub singletest {
# verify redirected stdout
my @actual = loadarray($STDOUT);
+ # variable-replace in the stdout we have from the test case file
+ @validstdout = fixarray(@validstdout);
+
# get all attributes
my %hash = getpartattr("verify", "stdout");