Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: use File::Temp to create temporary directory #343

Merged
merged 2 commits into from
Aug 18, 2024

Commits on Aug 17, 2024

  1. 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 schweikert#339.
    auerswal committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    998bfc8 View commit details
    Browse the repository at this point in the history
  2. 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.
    auerswal committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    1cdc418 View commit details
    Browse the repository at this point in the history