]> git.gsnw.org Git - fping.git/commit
CI: use chmod and File::Copy's copy, not system
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sat, 17 Aug 2024 17:04:13 +0000 (19:04 +0200)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 18 Aug 2024 15:02:23 +0000 (17:02 +0200)
commit54f452c1c61c76a0a47dd5bdc316ffb4793e2e56
tree44919729392f525b7d1a8d4102cceca6dc9155f6
parentebd247f843cf75dddafcca73f5fe8158f93e0d7f
CI: use chmod and File::Copy's copy, not system

Before, ci/test-11-unpriv.pl used Perl's "system" function
to execute a Unix command line to copy a file and change the
permissions of the copy.

Now, the Perl functions "copy" (from File::Copy) and "chmod"
are used instead.
ci/test-11-unpriv.pl