Change T.errmsg print to file fail test.
We cannot have a test that destroys eg. /etc/passwd if someone runs it as root.
This commit is contained in:
parent
1fd5fa38cc
commit
178f660b5a
@ -155,8 +155,8 @@ BEGIN { next }
|
||||
illegal .*next.* from END
|
||||
END { next; print NR }
|
||||
|
||||
can.t open file /etc/passwd
|
||||
BEGIN { print "abc" >"/etc/passwd" }
|
||||
can.t open file ./nonexistentdir/foo
|
||||
BEGIN { print "abc" >"./nonexistentdir/foo" }
|
||||
|
||||
you can.t define function f more than once
|
||||
function f() { print 1 }
|
||||
|
Loading…
Reference in New Issue
Block a user