mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.11.0t9.3.1
This commit is contained in:
@@ -11,6 +11,7 @@ BEGIN {
|
||||
havebuf2=0;
|
||||
buf2=0;
|
||||
error = 0;
|
||||
end_seen = 0;
|
||||
}
|
||||
|
||||
NF == 0 {
|
||||
@@ -29,6 +30,10 @@ NF == 0 {
|
||||
next;
|
||||
}
|
||||
|
||||
/: Ending regression tests$/ {
|
||||
end_seen = 1;
|
||||
}
|
||||
|
||||
$1 ~ /^[0-9]+:/ {
|
||||
if (error > 0) {
|
||||
if (havebuf2) {
|
||||
@@ -71,7 +76,7 @@ END {
|
||||
if (error > 0 && havebuf0) {
|
||||
print buf0;
|
||||
}
|
||||
if (error > 0) {
|
||||
if (error > 0 || !end_seen) {
|
||||
exit(1);
|
||||
} else {
|
||||
exit(0);
|
||||
|
Reference in New Issue
Block a user