Fix the T.errmsg test (#91)

Co-authored-by: Tim van der Molen <tim@kariliq.nl>
This commit is contained in:
Tim van der Molen
2020-07-29 20:29:46 +02:00
committed by GitHub
parent 22ee26b925
commit e22bb7c625

View File

@@ -186,7 +186,7 @@ BEGIN { foo() }
this should print a BAD message
BEGIN { print }
!!!
!!!!
echo ' running tests in foo.sh'
@@ -213,5 +213,3 @@ grep 'print | is unsafe' foo2 >/dev/null || echo 'BAD: T.errmsg print | unsafe'
$awk -safe 'BEGIN {system("date")}' >foo 2>foo2
grep 'system is unsafe' foo2 >/dev/null || echo 'BAD: T.errmsg system unsafe'
!!!!