Commit graph

176 commits

Author SHA1 Message Date
Pedro Algarvio
55dea02a89 Merge branch 'develop' of github.com:saltstack/salt-bootstrap into issues/57 2013-02-28 14:27:40 +00:00
Pedro Algarvio
e74e987ed5 Add required commands to install-testsuite-deps.py for Amazon Linux distro. 2013-02-28 14:23:33 +00:00
Pedro Algarvio
e11a589eba Skip syndic install test case since it's a know failure until Debian packages are >=0.13 2013-02-28 00:55:08 +00:00
Pedro Algarvio
60e7d4ceff Another sudo "bytes" the dust. 2013-02-27 23:56:24 +00:00
Pedro Algarvio
d46da380eb sudo should not be provided. 2013-02-27 23:55:42 +00:00
Pedro Algarvio
9c6417cf9e Update the tests to work with and around the extra -P flag. 2013-02-27 23:52:16 +00:00
Pedro Algarvio
f878cf4b44 Add test suite dependencies install commands for Debian based distributions. 2013-02-27 21:21:18 +00:00
Pedro Algarvio
f6c0f6aa50 Improved system cleanup. 2013-02-26 20:36:09 +00:00
Pedro Algarvio
b68f7275c5 Support ZYPPER_EXIT_INF_CAP_NOT_FOUND while cleaning up. 2013-02-26 19:16:17 +00:00
Pedro Algarvio
67c673bd1d Non interactive! 2013-02-26 18:47:04 +00:00
Pedro Algarvio
139af8392d Minor change in clean up commands. 2013-02-26 18:24:24 +00:00
Pedro Algarvio
84928c758d 1:1 mapping from openSUSE to SLES regaring the tearDown() functions. 2013-02-26 14:05:01 +00:00
Pedro Algarvio
99bed02f6f Properly detect and handle SLES SP2 on install-testsuite-deps.py. 2013-02-26 13:46:01 +00:00
Pedro Algarvio
3344f55521 Fix imports in runtests.py. 2013-02-26 13:04:19 +00:00
Pedro Algarvio
d600d51723 Allow running install-testsuite-deps.py reducing the needed imports, specially, unittest2. 2013-02-26 13:00:18 +00:00
Pedro Algarvio
ed370a911e Packages are now properly cleaned up for Suse distro's on install tests. 2013-02-25 19:34:12 +00:00
Pedro Algarvio
fd2209dbaf Add salt-syndic to the tearDown packages. 2013-02-25 17:54:23 +00:00
Pedro Algarvio
7689c453fe Suse packages needs some help to properly un-install. 2013-02-25 17:47:12 +00:00
Pedro Algarvio
d7c96336fa Skip install test if there's no tearDown() support. 2013-02-25 17:43:01 +00:00
Pedro Algarvio
692abdac69 Allow errno 4 exit codes from zypper to be ignored. 2013-02-25 17:32:41 +00:00
Pedro Algarvio
54ef3d16a3 Add install tests tearDown() support for Suse OS family. 2013-02-25 17:23:26 +00:00
Pedro Algarvio
2955b42664 Non interactive add repo. 2013-02-25 17:18:34 +00:00
Pedro Algarvio
ff35601f4a Fix key value. 2013-02-25 17:16:12 +00:00
Pedro Algarvio
a1c673d332 Add install deps for openSUSE. 2013-02-25 17:14:55 +00:00
Pedro Algarvio
008ad92021 Print gathered grains. 2013-02-25 16:46:56 +00:00
Pedro Algarvio
5f5f9d7c2f Fix Solaris test suite cleanup functions. 2013-02-24 03:34:04 +00:00
Pedro Algarvio
dd8c51ecb3 Need to raise the tag and sha for the tests since by then the Solaris pkg files did not exist. 2013-02-24 03:24:32 +00:00
Pedro Algarvio
e1d3907831 Fix stable curl command. Delete services on test suite cleanup. 2013-02-24 02:21:40 +00:00
Pedro Algarvio
b06a8105d6 Fixed OS family name for SmartOS, which is Solaris. 2013-02-24 01:26:39 +00:00
Pedro Algarvio
4f22a1b3f2 Add test-suite clean up functions for SmartOS. 2013-02-24 01:22:35 +00:00
Pedro Algarvio
01b007a7d6 Wait for the process to finish. 2013-02-24 01:17:07 +00:00
Pedro Algarvio
3ad6f922e0 Show what's being executed, show when finished. 2013-02-24 01:14:47 +00:00
Pedro Algarvio
10dc2ea692 Fail and show grains there are no commands to setup the system to execute the tests suite. 2013-02-24 01:11:35 +00:00
Pedro Algarvio
fd533a08c2 Provide a script which will help future system setups in order to run the tests suite. 2013-02-24 01:08:37 +00:00
Pedro Algarvio
391ac8949b Fix grains detection logic. 2013-02-24 00:59:43 +00:00
Pedro Algarvio
662f4c8266 Arch's pacman is picky regarding it's filesystem. Now the test suite runs in Arch Linux. 2013-02-23 05:16:20 +00:00
Pedro Algarvio
fe5015b9af Two more test cases for master and syndic installations. 2013-02-13 16:59:11 +00:00
Pedro Algarvio
1cbcb11aa5 Added 2 config related test cases.
* Check if we fail if the passed configuration directory does not exist.
* Check if we fail if no configuration is actually done.
2013-02-13 16:39:31 +00:00
Pedro Algarvio
849162a9fd Some getopts and logic fixes. Added one test case for config only mode.
* `getopt` was ignoring `-C`.
* Fixed some logic which should stop execution in some cases(regarding the config only mode execution)
* Added a test case to test if script execution stops if config mode is enabled and no config dir is provided.
2013-02-13 16:38:37 +00:00
Pedro Algarvio
327287bb33 Catch errno 11 even when not streaming. 2013-02-13 14:25:51 +00:00
Pedro Algarvio
ef116ee139 When un-installing a non installed package on Ubuntu, the error code is 100. 2013-02-13 12:56:56 +00:00
Geoff Garside
557564223b Add @s0undt3ch provided fixes, many thanks. 2013-02-12 20:58:03 +00:00
Geoff Garside
64e2cb0007 Add swig to list of test_install cleanup items. 2013-02-12 20:21:05 +00:00
Geoff Garside
b23dd262a8 Add FreeBSD test_install cleanup rules.
To the `pkg autoremove` command will remove any packages from the system
which are not currently depended on by any other packages.
2013-02-12 19:27:11 +00:00
Geoff Garside
adc5030b36 Add FreeBSD detection to bootstrap.ext.os_data 2013-02-12 19:21:13 +00:00
Pedro Algarvio
062fe28091 Define truth values to use within the script. Omit debug output while still allowing it to show up with the -D flag. 2013-02-11 20:44:46 +00:00
Pedro Algarvio
d916e2fe5a Create a global cleanup commands dictionary by OS name. 2013-02-10 12:21:27 +00:00
Pedro Algarvio
b3deaa9861 Stream stds in the subclassed Popen's poll function. 2013-02-10 12:10:02 +00:00
Pedro Algarvio
4135213820 Some more NameError fixes and preexec_fn was possibly what was causing Travis to fail. 2013-02-10 00:52:29 +00:00
Pedro Algarvio
1a26fd6210 Fix NameError. 2013-02-10 00:36:29 +00:00