Richard C Isaacson
087f7c230d
Typo fixes.
11 years ago
Richard C Isaacson
0446a030d7
Typo fixes.
11 years ago
Richard C Isaacson
dcbc69b69c
Added script to the new integration tests.
11 years ago
Richard C Isaacson
e2a47162d0
Added test for failed_when to non_destructive integration tests.
11 years ago
Richard C Isaacson
0c33e936d4
Adding tests for the command and shell modules.
11 years ago
Azul
89cee747d9
replace test 'wget' package with 'hello' package
11 years ago
James Tanner
d29da4cba1
Add iterator tests
11 years ago
James Tanner
65e58c21dd
Add test for basic lookups
11 years ago
James Tanner
799fe2c289
Add handlers test
11 years ago
James Tanner
d07032fa5a
Add async test role
11 years ago
Michael DeHaan
92feed3851
Update README.md
11 years ago
Michael DeHaan
f0dd040377
reconnect unit tests to 'make tests'
11 years ago
Michael DeHaan
2177b773c8
Rename tests to test, use old directory name.
11 years ago
Michael DeHaan
de600f0040
Move integration tests into tests_new.
11 years ago
Michael DeHaan
379fe02104
Move inventory tests into subdir, prune non-integration tests.
11 years ago
Michael DeHaan
fe7d3773ae
Various tests using datafiles are being moved into the integration test framework (tests_new right now).
...
The unit test infrastructure will remain for things that are mocked out and testable with out filesystem
side effects, and a few cases of things that might not be quite so much (like inventory) that can still
benefit from heavy access to the API.
See the 'tests_new/integration' directory, this will soon fold into tests_new.
11 years ago
Michael DeHaan
0581746a80
Removing tests from units that are now implemented in the new upgraded test system. Once
...
we're a little further along the units directory will be reserved to pure-API tests.
11 years ago
James Cammarata
701af19fad
Removing non-ascii logging test for now
11 years ago
Michael DeHaan
6fb02650ff
Remove tests for things that are now using the playbook based 'test_new' infra. Units will remain here
...
after refactoring, WIP, more to come.
11 years ago
Martin Thorsen Ranang
7e23ed345f
Avoid breaking on unicode input when logging to syslog in modules
...
After commit 254f87e
, non-ascii input broke logging to syslog.
11 years ago
James Cammarata
9c9a940af6
Merge branch 'fix-5679' of https://github.com/jirutka/ansible into jirutka-fix-5679
11 years ago
Ilya Kuznetsov
0658847ea6
Allow equal sign in single-line ini variables
11 years ago
Michael DeHaan
c91ceddfac
Add the start of an integration test structure using Ansible playbooks, also added an assert action plugin to make writing those easier.
11 years ago
Richard C Isaacson
6feeb16636
Reverting unarchive tests.
...
We run into some problems because tar --diff will take into account the file ownership and fail if they don't match.
The real-world implication of this is that we could be doing more unarchives then we need to be doing.
11 years ago
Richard Isaacson
eb4a730933
Merge pull request #5969 from risaacson/pull_5136
...
Updates for the unarchive module and action_plugin.
11 years ago
Richard C Isaacson
598b9c6b7c
Cleanup per notes.
...
Some small changes to per notes from @mpdehann.
11 years ago
Richard C Isaacson
cb7c2b7524
Updates for the unarchive module and action_plugin.
...
There is a bit going on with the changes here. Most of the changes are cleanup of files so that they line up with the standard files.
PR #5136 was merged into the current devel and brought up to working order. A few bug fixes had to be done to get the code to test correctly. Thanks out to @pib!
Issue #5431 was not able to be confirmed as it behaved as expected with a sudo user.
Tests were added via a playbook with archive files to verify functionality.
All tests fire clean including custom playbooks across multiple linux and solaris systems.
11 years ago
James Cammarata
ce0b1a8a96
Fixing tests for git
11 years ago
James Tanner
89c89c8ed2
Re-add synchronize unit tests
11 years ago
James Cammarata
3260e695f4
Make tmp paths in TestRunner dynamic based on pid
...
Fixes #4723
11 years ago
Jakub Jirutka
012e3ae206
Fixes #5679 : lineinfile ignores newline in line argument
11 years ago
jctanner
59d99c17b3
Merge pull request #5337 from bob-smith/bugfixFQDNParsing
...
Fix inventory parsing so that FQDN can be parsed without throwing ssh port error
11 years ago
Michael DeHaan
8e5b7d3095
Remove code underlying when_* and only_if, which are deprecated features slated for removal in the 1.5 release.
11 years ago
John Barker
4bf9f714d0
Fix inventory parsing so that FQDN can be parsed without throwing ssh
...
port parsing errors
Fixes problesm introduced by 948d019fef
Adds testcases to defend
11 years ago
Matthew Thode
c0a7f51671
tests depend on the default encoding being utf8
...
So we set the utils default encoding to be utf8
11 years ago
willthames
40a44ce6ea
Ensure test_command tests are actually correct
...
Using
```
assert 'changed' in result
```
doesn't actually check if something is changed, which is presumably
the reason for the assertion. What is actually needed is
```
assert result.get('changed')
```
which checks that changed is set and not False. Tests still pass after
this change
11 years ago
Eric Johnson
8ff58eb46e
fixes #4954 plus updates for gcutil/v1beta16 tests
11 years ago
Rene Moser
b5580389f6
host: added test playbook
11 years ago
James Tanner
4391cbfd91
Fix git bare test in el6 by adding origin to remote
11 years ago
jctanner
ad5012f930
Merge pull request #4691 from cg-soft/git-bare-ref-repo-support
...
Add support for bare git reference repos
11 years ago
James Tanner
9e197d3958
Fix bool comparision in recursive copy tests
11 years ago
James Tanner
33242cacf3
Merge pull request #4375 from pfalcon/ansible
...
copy: Implement recursive copying if src is a directory.
11 years ago
jctanner
9a7765daf7
Merge pull request #4351 from 2m/leading-range-fix
...
Allow leading ranges in the inventory host entries.
11 years ago
Christian Goetze
f41d4ac390
Add support for bare git reference repos
...
This adds two parameters to the git module:
bare (boolean)
Indicates this is to be a bare repositori
reference (string)
Indicates the path or url to the reference repo.
Check out the "--reference" option in the "git clone"
man page
Added appropriate tests.
11 years ago
James Tanner
d154bf8781
Revert templating enhancements from 73dbab70
e6c28658
d409352c
9858b1f2
4587528b
9b1fe455
214b0b05
8d3db803
7f9504d1
5031104c
35cb9dc2
2bd8cb57
1e85c754
11 years ago
Michael DeHaan
603db60828
Merge pull request #4288 from sivel/3725-regex
...
Add regex (search, match, regex) jinja2 filters. Fixes #3725
11 years ago
Michael DeHaan
3778b39115
Merge pull request #4380 from joshkehn/lineinfile_validate
...
Added validate option to lineinfile
11 years ago
Michael DeHaan
5031104c3a
Finishing touches on template cleanup.
11 years ago
Michael DeHaan
35cb9dc22f
Work in progress about cleaning up template code.
11 years ago
Michael DeHaan
baa13a5cc7
Merge pull request #4395 from erjohnso/devel
...
adding Google Compute Engine modules and inventory plugin
11 years ago