Add separate tests for .stowrc from $HOME and $PWD
.stowrc can be obtained from $HOME and/or the current working directory; however only the $HOME case was tested before, because during tests Stow was being run from $HOME. So switch $TEST_DIR to an absolute path, create a new run_from/ subdirectory, and chdir to that before invoking any Stow code. This allows us to test the behaviour of .stowrc in $HOME and run_from/ separately.
This commit is contained in:
parent
ac74d75a98
commit
74f0182834
4 changed files with 156 additions and 67 deletions
28
NEWS
28
NEWS
|
@ -98,12 +98,7 @@ News file for Stow.
|
|||
consistency.
|
||||
|
||||
- INSTALL.md now also documents how to build directly from git.
|
||||
** Fixes for bugs and technical debt
|
||||
*** Fix for test suite on Cygwin
|
||||
|
||||
Thanks to Lucas Theisen for this fix!
|
||||
|
||||
*** aclocal.m4 was updated using aclocal 1.15.1.
|
||||
** Fixes for bugs, tests, and other technical debt
|
||||
|
||||
*** Add Docker files for convenient testing across multiple Perl versions
|
||||
|
||||
|
@ -118,17 +113,28 @@ News file for Stow.
|
|||
|
||||
Thanks to Charles LeDoux for this!
|
||||
|
||||
*** Add Coveralls integration with GitHub
|
||||
|
||||
This means that test coverage analysis will be automatically be run
|
||||
on any pull requests submitted to GitHub.
|
||||
|
||||
*** Set up continuous testing via Travis CI
|
||||
|
||||
This means that the test suite will be automatically run on any
|
||||
pull requests submitted to GitHub, as well as "make distcheck"
|
||||
and "./Build distcheck".
|
||||
|
||||
*** Add Coveralls integration with GitHub
|
||||
|
||||
This means that test coverage analysis will be automatically be run
|
||||
on any pull requests submitted to GitHub.
|
||||
|
||||
*** Miscellaneous improvements to the test suite
|
||||
|
||||
These include proper testing of the distinct impact of ~/.stowrc
|
||||
and .stowrc in the directory from which Stow is invoked.
|
||||
|
||||
*** Fix for test suite on Cygwin
|
||||
|
||||
Thanks to Lucas Theisen for this fix!
|
||||
|
||||
*** aclocal.m4 was updated using aclocal 1.15.1.
|
||||
|
||||
*** Miscellaneous fixes to the build and distribution process
|
||||
|
||||
*** Improve handling of directories with unusual names
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue