Commit f0cda341 authored by Patrick Monnerat's avatar Patrick Monnerat
Browse files

runtests.pl: Apply strippart to upload too.

This will allow substitution of boundaries in mail messages.
parent 6869d65f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -4289,6 +4289,17 @@ sub singletest {
    if(@upload) {
        # verify uploaded data
        my @out = loadarray("$LOGDIR/upload.$testnum");

        # what parts to cut off from the upload
        my @strippart = getpart("verify", "strippart");
        my $strip;
        for $strip (@strippart) {
            chomp $strip;
            for(@out) {
                eval $strip;
            }
        }

        $res = compare($testnum, $testname, "upload", \@out, \@upload);
        if ($res) {
            return 1;