Fix the T.errmsg test (#91)
Co-authored-by: Tim van der Molen <tim@kariliq.nl>
This commit is contained in:
parent
22ee26b925
commit
e22bb7c625
@ -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'
|
||||
|
||||
!!!!
|
||||
|
Loading…
Reference in New Issue
Block a user