stow/t
Charles LeDoux 237288fb7e Add test harness for stowrc files
Why:

* Planning on developing a new feature for parsing of stowrc files.
* Need a test harness that performs initialization and clean up
    * Initialization: Create directory structure that allows creation of
      stowrc files without worrying about squashing existing files.
    * Clean up: Remove all files created during testing.

This change addresses the need by:

* Add intialization and cleanup harness in t/rc_options.t
    * Define the location to write stowrc files to in $RC_FILE
    * Ensures that location $RC_FILE does not already exist.
    * Calls the init_test_dirs to bootstrap directory tree.
    * After all tests are run, removes $RC_FILE and the testing
      directory tree.

* Add basic test of stowrc parsing to t/rc_options.t
    * Provides a template of how to create and test a stowrc file.

* Newly created t/rc_options.t file added to MANIFEST
2019-06-25 19:38:25 +01:00
..
chkstow.t Use make_invalid_link() to reliably setup symlink fixtures. 2012-02-18 20:33:34 +00:00
cleanup_invalid_links.t Use make_invalid_link() to reliably setup symlink fixtures. 2012-02-18 20:33:34 +00:00
cli.t Return non-zero exit code when invalid option is specified (#34) 2019-06-25 15:43:08 +01:00
cli_options.t Allow directory with trailing and leading spaces 2015-11-13 20:17:58 +07:00
defer.t Numerous fixes so that `make distcheck' succeeds. 2011-11-26 16:34:57 +00:00
dotfiles.t Make dotfiles.t executable for consistency with other tests 2019-06-25 14:30:30 +01:00
examples.t Remove accidentally duplicated code. 2012-02-19 19:16:00 +00:00
find_stowed_path.t Numerous fixes so that `make distcheck' succeeds. 2011-11-26 16:34:57 +00:00
foldable.t Numerous fixes so that `make distcheck' succeeds. 2011-11-26 16:34:57 +00:00
ignore.t Add another ignore example to the manual and test suite. 2011-12-21 11:45:43 +00:00
join_paths.t Add another test to join_paths.t 2011-11-26 15:10:28 +00:00
parent.t Clean up coding style in tests 2011-11-26 15:10:28 +00:00
rc_options.t Add test harness for stowrc files 2019-06-25 19:38:25 +01:00
stow.t fix stowing of relative links when --no-folding is used 2015-01-01 19:02:46 +00:00
testutil.pm Change init_test_dirs to point $HOME at $OUT_DIRS 2019-06-25 19:38:25 +01:00
unstow.t make it more obvious when target (sub)directory is skipped 2014-09-23 01:37:54 +01:00
unstow_orig.t make it more obvious when target (sub)directory is skipped 2014-09-23 01:37:54 +01:00