]> granicus.if.org Git - curl/commitdiff
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 f0830744e3e5ded2ffb2d282a7538a46089d3349..664098971dc6430fe2423e04e10336ad2b8072b0 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");