You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
8 years ago
..
add_host/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
apache2_module Migrate Linux CI roles to test targets. (#17997) 8 years ago
apt Migrate Linux CI roles to test targets. (#17997) 8 years ago
apt_repository Migrate Linux CI roles to test targets. (#17997) 8 years ago
args Split integration tests out from Makefile. (#17976) 8 years ago
assemble Migrate Linux CI roles to test targets. (#17997) 8 years ago
async Migrate Linux CI roles to test targets. (#17997) 8 years ago
async_extra_data Split integration tests out from Makefile. (#17976) 8 years ago
authorized_key Migrate Linux CI roles to test targets. (#17997) 8 years ago
become Migrate Linux CI roles to test targets. (#17997) 8 years ago
binary Migrate Linux CI roles to test targets. (#17997) 8 years ago
binary_modules Split integration tests out from Makefile. (#17976) 8 years ago
binary_modules_posix Split integration tests out from Makefile. (#17976) 8 years ago
binary_modules_winrm Split integration tests out from Makefile. (#17976) 8 years ago
blocks Split integration tests out from Makefile. (#17976) 8 years ago
changed_when Migrate Linux CI roles to test targets. (#17997) 8 years ago
check_mode Split integration tests out from Makefile. (#17976) 8 years ago
command_shell Migrate Linux CI roles to test targets. (#17997) 8 years ago
conditionals Migrate Linux CI roles to test targets. (#17997) 8 years ago
connection Split integration tests out from Makefile. (#17976) 8 years ago
connection_chroot Split integration tests out from Makefile. (#17976) 8 years ago
connection_docker Split integration tests out from Makefile. (#17976) 8 years ago
connection_jail Split integration tests out from Makefile. (#17976) 8 years ago
connection_libvirt_lxc Split integration tests out from Makefile. (#17976) 8 years ago
connection_local Split integration tests out from Makefile. (#17976) 8 years ago
connection_lxc Split integration tests out from Makefile. (#17976) 8 years ago
connection_lxd Split integration tests out from Makefile. (#17976) 8 years ago
connection_paramiko_ssh Split integration tests out from Makefile. (#17976) 8 years ago
connection_posix Split integration tests out from Makefile. (#17976) 8 years ago
connection_ssh Split integration tests out from Makefile. (#17976) 8 years ago
connection_winrm Split integration tests out from Makefile. (#17976) 8 years ago
copy Migrate Linux CI roles to test targets. (#17997) 8 years ago
delegate_to Split integration tests out from Makefile. (#17976) 8 years ago
docker Migrate Linux CI roles to test targets. (#17997) 8 years ago
embedded_module Migrate Linux CI roles to test targets. (#17997) 8 years ago
environment Split integration tests out from Makefile. (#17976) 8 years ago
facts_d Migrate Linux CI roles to test targets. (#17997) 8 years ago
failed_when/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
fetch Migrate Linux CI roles to test targets. (#17997) 8 years ago
file Migrate Linux CI roles to test targets. (#17997) 8 years ago
filters Fix test_filters fail because of dict sort (#18105) 8 years ago
gathering_facts Fix fact gathering intg test asserts (#18168) 8 years ago
gem Migrate Linux CI roles to test targets. (#17997) 8 years ago
get_url Migrate Linux CI roles to test targets. (#17997) 8 years ago
git Pixelrebel amc pr2654 (#18089) 8 years ago
group_by Split integration tests out from Makefile. (#17976) 8 years ago
handlers tests: check that handlers are able to use 'include' 8 years ago
hash Split integration tests out from Makefile. (#17976) 8 years ago
hg Migrate Linux CI roles to test targets. (#17997) 8 years ago
hosts_field Split integration tests out from Makefile. (#17976) 8 years ago
ignore_errors Migrate Linux CI roles to test targets. (#17997) 8 years ago
include_vars Migrate Linux CI roles to test targets. (#17997) 8 years ago
includes Split integration tests out from Makefile. (#17976) 8 years ago
iterators Migrate Linux CI roles to test targets. (#17997) 8 years ago
lineinfile Migrate Linux CI roles to test targets. (#17997) 8 years ago
lookup_paths Split integration tests out from Makefile. (#17976) 8 years ago
lookup_properties Split integration tests out from Makefile. (#17976) 8 years ago
lookups Migrate Linux CI roles to test targets. (#17997) 8 years ago
loops/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
mount/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
mysql_db Migrate Linux CI roles to test targets. (#17997) 8 years ago
mysql_user Migrate Linux CI roles to test targets. (#17997) 8 years ago
mysql_variables Migrate Linux CI roles to test targets. (#17997) 8 years ago
no_log Split integration tests out from Makefile. (#17976) 8 years ago
parsing Split integration tests out from Makefile. (#17976) 8 years ago
ping/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
pip Migrate Linux CI roles to test targets. (#17997) 8 years ago
postgresql Migrate Linux CI roles to test targets. (#17997) 8 years ago
prepare_http_tests Migrate Linux CI roles to test targets. (#17997) 8 years ago
prepare_tests/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
prepare_win_tests Migrate Windows CI roles to test targets. (#18005) 8 years ago
pull_limit_inventory Split integration tests out from Makefile. (#17976) 8 years ago
pull_no_127 Split integration tests out from Makefile. (#17976) 8 years ago
pull_run Split integration tests out from Makefile. (#17976) 8 years ago
script Migrate Linux CI roles to test targets. (#17997) 8 years ago
service Migrate Linux CI roles to test targets. (#17997) 8 years ago
setup_mysql_db Migrate Linux CI roles to test targets. (#17997) 8 years ago
setup_postgresql_db Migrate Linux CI roles to test targets. (#17997) 8 years ago
special_vars Migrate Linux CI roles to test targets. (#17997) 8 years ago
stat Migrate Linux CI roles to test targets. (#17997) 8 years ago
subversion Migrate Linux CI roles to test targets. (#17997) 8 years ago
synchronize Migrate Linux CI roles to test targets. (#17997) 8 years ago
tags Split integration tests out from Makefile. (#17976) 8 years ago
task_ordering/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
template Migrate Linux CI roles to test targets. (#17997) 8 years ago
templating_settings Split integration tests out from Makefile. (#17976) 8 years ago
test_infra Split integration tests out from Makefile. (#17976) 8 years ago
unarchive Migrate Linux CI roles to test targets. (#17997) 8 years ago
unicode Split integration tests out from Makefile. (#17976) 8 years ago
until/tasks Migrate Linux CI roles to test targets. (#17997) 8 years ago
uri Fix the uri testserver to run on python3 8 years ago
var_blending Split out var_blending test into targets dir. (#17996) 8 years ago
var_precedence Split integration tests out from Makefile. (#17976) 8 years ago
vault Split integration tests out from Makefile. (#17976) 8 years ago
win_async_wrapper reenable win_async loop test 8 years ago
win_command/tasks add large interleaved stdout/stderr integration tests for win_shell/win_command 8 years ago
win_copy Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_feature Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_fetch/tasks Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_file Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_get_url Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_group Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_lineinfile Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_msi Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_package Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_ping Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_raw/tasks Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_regedit Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_regmerge Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_script Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_service Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_setup/tasks Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_shell/tasks add large interleaved stdout/stderr integration tests for win_shell/win_command 8 years ago
win_slurp/tasks Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_stat/tasks Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_template Migrate Windows CI roles to test targets. (#18005) 8 years ago
win_user Migrate Windows CI roles to test targets. (#18005) 8 years ago
yum Migrate Linux CI roles to test targets. (#17997) 8 years ago
zypper Migrate Linux CI roles to test targets. (#17997) 8 years ago
zypper_repository Migrate Linux CI roles to test targets. (#17997) 8 years ago