-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a temporary path when testing archive commands.
Previously, fpm would write to the current directory when using methods to check for the correct `ar` and `tar` commands. This now uses Stud::Temporary to get a random path in the system temporary directory. I found this error in the test suite when the fpm git workspace was not writable -- for example, when mounted read-only through a container. Error message, for posterity: 1) FPM::Command -p | --package when given a directory should write the package to the given directory. Failure/Error: cmd.run(["-s", "empty", "-t", "deb", "-n", "example", "-p", path]) Errno::EACCES: Permission denied @ rb_sysopen - fpm-dummy.tmp
- Loading branch information
1 parent
18233c3
commit 066b9b5
Showing
1 changed file
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters