]> Sergey Matveev's repositories - public-inbox.git/commit
t/common: set $0 when running script w/o fork
authorEric Wong <e@80x24.org>
Fri, 29 Nov 2019 10:14:09 +0000 (10:14 +0000)
committerEric Wong <e@80x24.org>
Wed, 11 Dec 2019 08:10:27 +0000 (08:10 +0000)
commit48282c640eb4871f8fa07ea2ea06a2ef0e16535f
tree54e1fe2ac57cb376ef02f6f7515e0ed13eb46665
parente4d3be19612b20829426b129a2e1fb2316d38473
t/common: set $0 when running script w/o fork

We can localize changes to $0 so $0 is restored when the
"script" sub is done.  This will be helpful when we encounter
a stuck/slow processes during our tests (hopefully never!)
t/common.perl