summaryrefslogtreecommitdiff
path: root/baserock-system-config-sync/config-sync-tests/tests.upgrades/v2/file7.1
Commit message (Collapse)AuthorAgeFilesLines
* Remove test mode and provide hooks to use a test suite.Tiago Gomes2013-07-011-8/+0
| | | | | | | | | Tests will now be handled by a test suite in a future commit, so this mode will not be needed anymore. The test suite will work by replacing the mounting script by a fake mounting script that points to a directory with a systems folder. Also add trap again, now that it is more tested.
* Script to merge and syncronize /etc in different system versionsTiago Gomes2013-06-251-0/+8
This commit adds a script to merge and syncronize /etc in different system versions. The first argument read from command line is the mode, which can be one of the following: - test: the purpose of this mode is to test some merge cases. It receives from the command line v1_dir, vu_dir and v2_dir and vt_dir. The meaning of these arguments is explained in the script. - merge: merges the user changes in /etc in the run system of the version given as argument - sync: syncronizes /etc in all run versions, so that this directory is exactly the same as the version given as argument. This commit also includes an auxiliary script to mount the systems directory in a give directory given as argument, and some testing folders to use with the test mode.