ansible/test/integration/targets
Adrian Likins 0a1f391881 Fix fact gathering intg test asserts (#18168)
If the facts returned by setup included strings that
had double quotes in them, the asserts in test_gathering_facts.yml
would fail with errors like:

    "The conditional check '\"[{u'mounts': {u'options':
    u'rw,context=\"system_u:\"'}}]\" != \"UNDEF_HW\"' failed. The error was:
    template error while templating string: expected token 'end of statement
    block', got 'system_u'. String: {% if \"[{u'mounts': {u'options':
    u'rw,context=\"system_u:\"'}}]\" != \"UNDEF_HW\" %} True {% else %}
    False {% endif %}"

For one example, if mount facts returned an 'options' field that
included double quoated selinux context ids, the test would fail.

Fix is removing the double quoting in the assert 'that:' lines,
and removing the unneeded double curly brackets.
2016-10-26 11:21:19 -04:00
..
add_host/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
apache2_module Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
apt Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
apt_repository Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
args Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
assemble Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
async Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
async_extra_data Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
authorized_key Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
become Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
binary Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
binary_modules Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
binary_modules_posix Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
binary_modules_winrm Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
blocks Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
changed_when Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
check_mode Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
command_shell Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
conditionals Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
connection Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_chroot Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_docker Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_jail Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_libvirt_lxc Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_local Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_lxc Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_lxd Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_paramiko_ssh Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_posix Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_ssh Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
connection_winrm Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
copy Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
delegate_to Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
docker Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
embedded_module Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
environment Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
facts_d Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
failed_when/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
fetch Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
file Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
filters Fix test_filters fail because of dict sort (#18105) 2016-10-19 16:11:09 -04:00
gathering_facts Fix fact gathering intg test asserts (#18168) 2016-10-26 11:21:19 -04:00
gem Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
get_url Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
git Pixelrebel amc pr2654 (#18089) 2016-10-19 08:41:05 -07:00
group_by Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
handlers tests: check that handlers are able to use 'include' 2016-10-21 20:17:42 +02:00
hash Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
hg Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
hosts_field Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
ignore_errors Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
include_vars Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
includes Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
iterators Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
lineinfile Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
lookup_paths Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
lookup_properties Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
lookups Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
loops/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mount/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mysql_db Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mysql_user Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
mysql_variables Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
no_log Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
parsing Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
ping/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
pip Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
postgresql Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
prepare_http_tests Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
prepare_tests/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
prepare_win_tests Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
pull_limit_inventory Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
pull_no_127 Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
pull_run Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
script Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
service Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
setup_mysql_db Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
setup_postgresql_db Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
special_vars Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
stat Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
subversion Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
synchronize Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
tags Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
task_ordering/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
template Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
templating_settings Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
test_infra Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
unarchive Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
unicode Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
until/tasks Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
uri Fix the uri testserver to run on python3 2016-10-24 06:50:06 -07:00
var_blending Split out var_blending test into targets dir. (#17996) 2016-10-12 22:22:46 -07:00
var_precedence Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
vault Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
win_async_wrapper reenable win_async loop test 2016-10-24 00:00:24 -07:00
win_command/tasks add large interleaved stdout/stderr integration tests for win_shell/win_command 2016-10-25 17:23:24 -07:00
win_copy Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_feature Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_fetch/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_file Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_get_url Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_group Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_lineinfile Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_msi Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_package Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_ping Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_raw/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_regedit Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_regmerge Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_script Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_service Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_setup/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_shell/tasks add large interleaved stdout/stderr integration tests for win_shell/win_command 2016-10-25 17:23:24 -07:00
win_slurp/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_stat/tasks Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_template Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
win_user Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
yum Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
zypper Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
zypper_repository Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00