bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53427: perror should not errcnt across test files


From: Martin Cermak
Subject: bug#53427: perror should not errcnt across test files
Date: Fri, 21 Jan 2022 22:02:08 +0100
User-agent: NeoMutt/20180716

There seems to be an old bug originally reported in the Red Hat
bug tracker [1] still present in the dejagnu 1.6.3 sources.
Steps to Reproduce:


echo 'perror foo' >a.exp; echo 'pass bar' >b.exp; runtest a.exp b.exp; cat 
testrun.sum

Actual results:
...
Running target unix
Running ./a.exp ...
ERROR: foo
Running ./b.exp ...
UNRESOLVED: bar

                ===  Summary ===
...

Expected results:
...
Running target unix
Running ./a.exp ...
ERROR: foo
Running ./b.exp ...
PASS: bar

                ===  Summary ===
...


Patch attached.  Please consider fixing.

Thanks,
Martin



-------
[1] https://bugzilla.redhat.com/show_bug.cgi?id=460153

Attachment: dejagnu-1.6.3-perror-across-test-files.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]