do variable replacement in the stdout data read from the test case
authorDaniel Stenberg <daniel@haxx.se>
Thu, 1 May 2008 10:51:16 +0000 (10:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 1 May 2008 10:51:16 +0000 (10:51 +0000)
tests/runtests.pl

index f083074..6640989 100755 (executable)
@@ -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");