Toshio Kuratomi
c03555b650
Fix unarchive failures when the destination is a symlink to a directory ( #15999 )
...
Also add integration tests for this problem and unicode filenames inside
a tarball.
Fixes #3725
10 years ago
Matt Clay
b755bcd875
Corrected reference to httptester container.
10 years ago
Matt Martz
164f247ec8
Add httptester docker container files and update run_tests.sh to use ansible/httptester
10 years ago
Brian Coca
329c62e914
docker was deprecated, test now reflects new name
10 years ago
Toshio Kuratomi
650bfdce8f
Update grep for six to not falsely trigger when six is only a substring of a different library
10 years ago
Robin Roth
0edec45c3d
install packages for tests ( #15979 )
...
* curl is needed for test_binary_modules
* glibc-i18ndata is needed for postgresql (localedef)
10 years ago
John R Barker
1861151fa4
[WIP] Extra test and build dependencies in Docker images ( #15692 )
...
* Merge conflicts:
* [skip ci] Revert changes to run_tests.sh
gundalow will update this in a different PR
* [skip ci] Add in ubuntu1604 and opensuseleap
NOTE: We are not configuring anything to use these new images yet.
Therefore no impact on Travis performance
* python-mysql for opensuse
* It's mysql-server on centos6
10 years ago
Toshio Kuratomi
b41b6b2ec5
Update test off make_become for ssh pty race mitigation ( #15931 )
10 years ago
nitzmahone
42f6114b61
fix windows integration tests to run under kerberos users
10 years ago
Michael Scherer
376fc21f92
Add a exception for module_utils/six.py regarding code smell ( #15878 )
...
Since six replace urlopen, it is normal to trigger the test,
hence the exception
10 years ago
Michael Scherer
cc61531a74
Do not test vca and vmware.py for py2.4 ( #15887 )
...
Since both of them depend on libraries not
working on python 2.4, we shouldn't restrict
ourself on 2.4, cf https://github.com/ansible/ansible/pull/15870
10 years ago
Robin Roth
85477fa215
Don't use 'from ansible.module_utils import foo' style here as it breaks ( #15756 )
...
py.test"
10 years ago
Toshio Kuratomi
c1cc9f1f23
Merge pull request #15845 from abadger/ziploader-constants
...
Ship constants to the modules via internal module params rather than a secondary dict
10 years ago
Toshio Kuratomi
186337db28
Ship constants to the modules via internal module params rather than a secondary dict.
10 years ago
Matt Davis
bc7405efc9
Merge pull request #15797 from robinro/patch-1
...
reduce async timeout in unittests
10 years ago
Matt Martz
196453b9b2
Merge pull request #13771 from sivel/binary-modules
...
First pass at allowing binary modules
10 years ago
Matt Martz
651b83d8be
Run test_binary_modules
10 years ago
Matt Martz
0faddfa168
Move binary module detection into executor/module_common.py
10 years ago
Matt Martz
3466e73c50
Resolve test failures
10 years ago
Matt Martz
2d18607f1e
Add GPL3 header to helloworld.go
10 years ago
Matt Martz
6ad8ec0919
Add integration tests for binary modules
10 years ago
Toshio Kuratomi
292f0ed0d6
If we can't squash for any reason, then simply do not optimize the items loop.
...
Also add more squashing testcases
Fixes #15649
10 years ago
Toshio Kuratomi
8a184381af
Strip junk after JSON return. ( #15822 )
...
Fixes #15601
10 years ago
James Cammarata
67c32ac30a
Merge branch 'samples-to-test' of https://github.com/dagwieers/ansible into dagwieers-samples-to-test
10 years ago
Matt Martz
accf40d8a8
Use httptester docker image for http tests ( #15811 )
...
* Use httptester docker image for http tests
* When not running with an httptester linked container, use public test sites
10 years ago
Toshio Kuratomi
c730af5dc2
Remove reload from arg related tests. Changes to how ziploader passes args mean we don't need reload anymore. ( #15782 )
10 years ago
Toshio Kuratomi
7ccb08cc7e
Switch to a different url for testing SNI right now. ( #15798 )
10 years ago
Robin Roth
254cf9ea68
reduce async timeout
...
reduce from 3 sec to 0.1 sec; the 3 sec sleep was about half of the total unittest time on my development machine...
10 years ago
Toshio Kuratomi
5c7ad654db
Add some more tests for item squashing
10 years ago
nitzmahone
133395db30
add jimi-c's unit test for squashed skip results, tweaked is_skipped() logic to pass
10 years ago
Brian Coca
2af8e3b9d8
fix default for removing images
10 years ago
Brian Coca
27a1ae4732
added ability to also subset make tests
10 years ago
Rene Moser
5583027f99
tests, postgresql: add ubuntu 16.04 support
10 years ago
Rene Moser
39e4caafb2
tests, apt_repository: disable Ubuntu 16.04 as there is no package yet
10 years ago
Rene Moser
c20d1fced7
tests: fix tests on Debian 8
10 years ago
Robin Roth
cf62a62b83
use userdir module as example instead of alias ( #15540 )
...
* alias module is very basic and removing it leads to the suse default
config failing
* future improvements might test different modules and the effect of
them being removed
10 years ago
Brian Coca
47d58c30e4
another var 'defaulted' in run_tests
10 years ago
Brian Coca
3669ab2456
added defaults for 'optional' vars
10 years ago
Brian Coca
52a714143f
fine tuned shell switches for run_tests.sh
10 years ago
Yannig
3901556b35
When var name is the same as var content, try to template it before reporting that var is not defined. ( #13629 )
...
* When var name is the same as var content, try to template it before reporting that var is not defined.
Add asserts in test_var_blending to check this special corner case.
* Fix integration tests when using debug with list or dict.
10 years ago
Robin Roth
1d6608e84f
Dist version fix for Red Hat and more tests ( #15663 )
...
* add tests for centos6, rhel6 and rhel7
* gen_distribution_version_testcase with python2.6
* remove unused imports
* fix redhat/vmware/... parsing
* add centos7 test case
10 years ago
Toshio Kuratomi
1b78fd57b1
Merge pull request #15656 from abadger/ziploader-namespace
...
Fix ziploader for the cornercase of ansible invoking ansible.
10 years ago
Matt Davis
ca5080d56b
Merge pull request #15570 from jhawkesworth/regedit_fix_str_compare_tests
...
win_regedit integration test to cover change to allow empty string comparison
10 years ago
Toshio Kuratomi
487e6562ca
Fix ziploader for the cornercase of ansible invoking ansible.
...
* Make ziploader's ansible and ansible.module_utils libraries into
namespace packages.
* Move __version__ and __author__ from ansible/__init__ to
ansible/release.py. This is because namespace packages only load one
__init__.py. If that is not the __init__.py with the author and
version info then those won't be available.
* In ziplaoder, move the version ito ANSIBLE_CONSTANTS.
* Change PluginLoader to properly construct the path to the plugins even
when namespace packages are present.
10 years ago
Toshio Kuratomi
d652b2edc0
Fix for unittests on python2.6 or less
10 years ago
Robin Roth
12f7f50f31
extend zypper integration tests ( #15596 )
...
* extend zypper integration tests
* fix caching issue of local RPMS on openSUSE 42.1 Leap
* add tests for simultaneous install/remove via prefixes +-
* test fail cases (rm patch or URL)
* test patch install (succes, unchanged second run, fail on wrong name)
* add test for pattern install
10 years ago
Toshio Kuratomi
7e1fbe2e03
Some algorithmic unittests for the apt and docker modules
10 years ago
Toshio Kuratomi
e4a1622f53
Do not check docker or azure module_utils code for py2.4 compat (the libs require py2.6+)
10 years ago
Toshio Kuratomi
85bef402b1
Merge pull request #14614 from gundalow/test_binary
...
non-destructive says we should run test_binary at v2
10 years ago
Tegan Snyder
bf0da4aa3c
add centrify dzdo escalation ( #15219 )
...
add dzdo context, and test
10 years ago