code: regress

Download patch

ref: d1b9c31b4a1da4c95da493ec18c0ec5085694785
parent: 58c54e390fbfece997d189ddfb2ba4f1d9922c55
author: Jacob Moody <[email protected]>
date: Wed Jun 29 23:30:48 EDT 2022

awk.rc: clean status on pass

--- a/cmd/awk.rc
+++ b/cmd/awk.rc
@@ -4,7 +4,10 @@
 fn check{
 	expected=$1
 	shift
-	if(! ~ `{$*} $expected){
+	if(~ `{$*} $expected){
+		status=''	
+	}
+	if not{
 		>[1=2] echo $* '!=' $expected
 		exit 'fail'
 	}