Commit Graph

12 Commits

Author SHA1 Message Date
David Wilson d068a36c1e issue #164: more dir layout contortions.
all.yml slurps in tests from each file/subdir in the CWD.
2018-04-05 17:32:56 +01:00
David Wilson 680dc1bf68 issue #164: basic connection loader tests. 2018-04-05 17:27:42 +01:00
David Wilson 20ecd0af02 issue #164: fix makefile 2018-04-05 17:27:16 +01:00
David Wilson 48a0938d04 issue #164: add action module to return active strategy. 2018-04-05 17:27:02 +01:00
David Wilson 0247561fc7 issue #164: rename lib/modules 2018-04-05 17:26:43 +01:00
David Wilson 6aeb4e9f05 issue #164: precisely emulate Ansible's stdio behaviour.
* Use identical logic to select when stdout/stderr are merged, so
  'stdout', 'stdout_lines', 'stderr', 'stderr_lines' contain the same
  output before/after the extension.

* When stdout/stderr are merged, synthesize carriage returns just like
  the TTY layer.

* Mimic the SSH connection multiplexing message on stderr. Not really
  for user code, but so compare_output_test.sh needs fewer fixups.
2018-04-05 01:16:34 +01:00
David Wilson c5ca2e87ea issue #164: stop tests on first failure 2018-04-05 00:11:29 +01:00
David Wilson 26cc0f2724 issue #164: fix remote_tmp handling on <2.5 2018-04-04 20:19:46 +01:00
David Wilson 3ebe600389 issue #164: convert "examples" into actual tests
- Add new Travis mode, "ansible_tests.sh" that runs
  integrations/all.yml. Slowly build this up over time to cover more of
  the existing junk.

- Add basic assertions on the output of the existing runner__* files.

- Wire up 2.4.3/2.5.0 jobs in Travis.
2018-04-04 20:01:23 +01:00
David Wilson ae75a0ca8c issue #164: rearrange playbooks a little more 2018-04-04 16:11:19 +01:00
David Wilson 563639961d issue #164: dir structure is gross, but at least tab completion works :> 2018-04-04 16:08:38 +01:00
David Wilson 49aa8834b0 issue #164: split "examples" out into regression/integration tests. 2018-04-04 15:59:29 +01:00