ref: 178f660b5a4fde6f39e8065185373166f55b6e0c
parent: 1fd5fa38cc801a9fb77494c2c3fce8f2403c5402
author: ozan s. yigit <oz@silentrunning.ca>
date: Sun Jan 10 10:24:37 EST 2021
Change T.errmsg print to file fail test. We cannot have a test that destroys eg. /etc/passwd if someone runs it as root.
--- a/testdir/T.errmsg
+++ b/testdir/T.errmsg
@@ -155,8 +155,8 @@
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 }--
⑨