From 9835deb17fdf5fdf19139422109905ea1fa405c3 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 14 Jun 2022 07:43:38 +0200 Subject: [PATCH] Revert "Print debug output during tests." This reverts commit 6fe9cf11f171242cd5533b830d56f9220850adcd. --- .../alternatives/tasks/subcommands.yml | 20 +------------------ .../targets/alternatives/vars/Debian.yml | 1 - .../targets/alternatives/vars/Suse-42.3.yml | 1 - .../targets/alternatives/vars/default.yml | 1 - 4 files changed, 1 insertion(+), 22 deletions(-) diff --git a/tests/integration/targets/alternatives/tasks/subcommands.yml b/tests/integration/targets/alternatives/tasks/subcommands.yml index 1d0d8ee1c0..ba4ecbbafe 100644 --- a/tests/integration/targets/alternatives/tasks/subcommands.yml +++ b/tests/integration/targets/alternatives/tasks/subcommands.yml @@ -32,15 +32,6 @@ that: - cmd.stdout == "dummy2" -- name: Get dummymain alternatives output - command: - argv: '{{ alternatives_command }} --display dummymain' - register: result - -- name: Print result - debug: - var: result.stdout_lines - - name: Subcommands are not removed if not specified alternatives: name: dummymain @@ -84,13 +75,4 @@ assert: that: - cmd.rc == 2 - - '"No such file" in cmd.msg' - -- name: Get dummymain alternatives output - command: - argv: '{{ alternatives_command }} --display dummymain' - register: result - -- name: Print result - debug: - var: result.stdout_lines + - '"No such file" in cmd.msg' \ No newline at end of file diff --git a/tests/integration/targets/alternatives/vars/Debian.yml b/tests/integration/targets/alternatives/vars/Debian.yml index d2cdd0cd0e..1e83283e4d 100644 --- a/tests/integration/targets/alternatives/vars/Debian.yml +++ b/tests/integration/targets/alternatives/vars/Debian.yml @@ -1,3 +1,2 @@ --- alternatives_dir: /var/lib/dpkg/alternatives/ -alternatives_command: update-alternatives diff --git a/tests/integration/targets/alternatives/vars/Suse-42.3.yml b/tests/integration/targets/alternatives/vars/Suse-42.3.yml index 14958db39a..37664ddb56 100644 --- a/tests/integration/targets/alternatives/vars/Suse-42.3.yml +++ b/tests/integration/targets/alternatives/vars/Suse-42.3.yml @@ -1,3 +1,2 @@ --- alternatives_dir: /var/lib/rpm/alternatives/ -alternatives_command: update-alternatives diff --git a/tests/integration/targets/alternatives/vars/default.yml b/tests/integration/targets/alternatives/vars/default.yml index 7aeb9bb562..d00123ded3 100644 --- a/tests/integration/targets/alternatives/vars/default.yml +++ b/tests/integration/targets/alternatives/vars/default.yml @@ -1,3 +1,2 @@ --- alternatives_dir: /var/lib/alternatives/ -alternatives_command: update-alternatives