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
Pedro Algarvio
e0a0a23d06
Don't rename err buffer.
2013-02-10 00:30:45 +00:00
Pedro Algarvio
14a30f4d07
Subclass Popen to provided non blocking reads.
2013-02-09 20:56:07 +00:00
Pedro Algarvio
f6ba2ba197
Fix gathering data when running separate tests.
2013-02-08 11:30:32 +00:00
Pedro Algarvio
4c3775522f
Remove previous shell based testing. Show versions report on install test cases.
2013-02-07 05:17:10 +00:00
Pedro Algarvio
46033b0dda
Add a readme for the tests.
2013-02-07 04:51:47 +00:00
Pedro Algarvio
c1325acb23
Finish renaming script. Bumped version to mark this event.
2013-02-07 01:44:38 +00:00
Pedro Algarvio
3054b03af3
Fix explicit stable install.
2013-02-06 20:42:15 +00:00
Pedro Algarvio
36373b57d9
Print detected grains.
2013-02-06 20:40:35 +00:00
Pedro Algarvio
2d49f56063
Add specific git sha install test case.
2013-02-06 20:31:42 +00:00
Pedro Algarvio
25f6f1bfd6
Add specific git tag install test case.
2013-02-06 20:30:20 +00:00
Pedro Algarvio
399f5eea79
Add latest git develop install test case.
2013-02-06 20:28:37 +00:00
Pedro Algarvio
c6d6de7f50
Script argument needs to be None
if not running the bootstrap script.
2013-02-06 20:25:56 +00:00
Pedro Algarvio
263fb37c7f
Add explicit stable and piped install tests.
2013-02-06 20:24:05 +00:00