X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fruntest;h=ef202985abefd5d212cec6b1633b7ed0eeb6f912;hb=06175ac09a1e58c69a777d322ee3d7bb4d7fe2a2;hp=1730a9889328c25acbebb4921b61a289b2bee1d0;hpb=93c3f40d578a22c112fd67954528f921dae50a78;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/runtest b/test/runtest index 1730a9889..ef202985a 100755 --- a/test/runtest +++ b/test/runtest @@ -1075,6 +1075,15 @@ RESET_AFTER_EXTRA_LINE_READ: # mailq times change with when the run is done, vs. static-source spoolfiles s/\s*\d*[hd](?= 317 [0-9A-Za-z\-]{23} )/DDd/; + + # Not all builds include EXPERIMENTAL_DSN_INFO (1 of 2) + if (/^X-Exim-Diagnostic:/) + { + while () { + last if (/^$/ || !/^\s/); + } + goto RESET_AFTER_EXTRA_LINE_READ; + } } # ======== stderr ======== @@ -1631,6 +1640,15 @@ RESET_AFTER_EXTRA_LINE_READ: ; ; } + + # Not all builds include EXPERIMENTAL_DSN_INFO (2 of 2) + if (/^X-Exim-Diagnostic:/) + { + while () { + last if (/^$/ || !/^\s/); + } + goto RESET_AFTER_EXTRA_LINE_READ; + } } # ======== All files other than stderr ======== @@ -2639,6 +2657,12 @@ if (/^(ln|ls|du|mkdir|mkfifo|touch|cp|cat)\s/ || run_system("$_ >>test-stdout 2>>test-stderr"); return 1; } +if (/^cat2\s/) + { + s/^cat2/cat/; + run_system("$_ 2>&1 >test-stderr"); + return 1; + }