Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed github#2-3 for good by introducing tests for both run() and actually running the program with arguments to check its command line arguments. Now, if I break the user interface, and fetchware becomes useless, I'll actually know from just its own tests. - Created a new testing helper subroutine, fork_ok(). All it does is fork, execute the specified coderef, and pass or fail based on the forked proces's exit status. Used in the test suite testing mentioned above. - Fixed a typo that caused fetchware's -h, --help, and -? command line options to not work at all. Until this release fetchware was calling the help() subroutine, which no longer exists. It was renamed cmd_help() a long time ago. This is now fixed, and tested for. - Fixed an annoying bug that caused App-Fetchware-$VERSION.fpkg to be left in user's fetchware package directory. Fetchware's test suite creates a few test packages, and copies them to the user's fetchware database directory. These packages are then deleted, because they are only used for testing, so they do not need to be left there with the user wondering where they came from. - And a number of small bug fixes and typos as well.
- Loading branch information