From 050d17295d2104695f4737f81684daf9ce32cf2d Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 28 Oct 2014 19:09:32 -0400 Subject: [PATCH] Remove test case that wasn't reported as something git should do --- .../integration/roles/test_git/tasks/main.yml | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/test/integration/roles/test_git/tasks/main.yml b/test/integration/roles/test_git/tasks/main.yml index 09e42cbcd8..14623a2ce9 100644 --- a/test/integration/roles/test_git/tasks/main.yml +++ b/test/integration/roles/test_git/tasks/main.yml @@ -188,7 +188,6 @@ file: state=absent path={{ checkout_dir }} - - name: Test that clone with recursive retrieves submodules git: repo: '{{ repo_submodules }}' @@ -206,32 +205,6 @@ -- name: Check that modules will be updated if main repo is not - command: git config --replace-all remote.origin.url {{ repo_submodule1_newer }} - args: - chdir: "{{ checkout_dir }}/submodule1" - -- git: - repo: '{{ repo_submodules }}' - dest: '{{ checkout_dir }}' - update: yes - recursive: yes - track_submodules: yes - -- command: 'ls -1a {{ checkout_dir }}/submodule1' - register: submodule1 - -- debug: var=submodule1 -- assert: - that: '{{ submodule1.stdout_lines|length }} == 5' - ignore_errors: true - - - -- name: Restore checkout to prior state - file: state=absent path={{ checkout_dir }} -- command: 'cp -pr {{ checkout_dir }}.bak {{ checkout_dir }}' - - name: Test that update without recursive does not change submodules command: 'git config --replace-all remote.origin.url {{ repo_submodules_newer }}' args: