]> git.gsnw.org Git - fping.git/commit
CI: use File::Temp to create temporary directory
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 11 Aug 2024 14:56:48 +0000 (16:56 +0200)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 18 Aug 2024 15:02:23 +0000 (17:02 +0200)
commitebd247f843cf75dddafcca73f5fe8158f93e0d7f
treeb40afaca2c7a13cf3d8a72fadb5b0c93bfe8a113
parent096a75fa56945d4f84938432d09b3cd41bd68715
CI: use File::Temp to create temporary directory

Before, ci/test-11-unpriv.pl used a hard-coded file name of
/tmp/fping.copy to create an unprivileged copy of fping.  This
file was not deleted after it was no longer used.

Now, the unprivileged fping copy is created in a temporary
directory that is deleted after all tests from the file.

This addresses GH issue #339.
ci/test-11-unpriv.pl