selftest/selftest.pl: we don't need to call Subunit::progress_pop() twice on error
authorStefan Metzmacher <metze@samba.org>
Thu, 29 Dec 2016 20:45:32 +0000 (21:45 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Jan 2017 12:54:17 +0000 (13:54 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/selftest.pl

index c54ea68cac209e15cd86a3d021bd9eeed3781980..ced13f243414d2f8668687d15bafa1e9babb0572 100755 (executable)
@@ -142,7 +142,6 @@ sub run_testsuite($$$$$)
        Subunit::progress_pop();
 
        if ($? == -1) {
-               Subunit::progress_pop();
                Subunit::end_testsuite($name, "error", "Unable to run $cmd: $!");
                exit(1);
        } elsif ($? & 127) {