From eee9982be19a16d860b7e9dde05850e7f8c2276a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 25 Apr 2024 04:51:10 +0200 Subject: Merging upstream version 2.16.6. Signed-off-by: Daniel Baumann --- test/integration/targets/dnf/tasks/dnf.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/integration/targets/dnf') diff --git a/test/integration/targets/dnf/tasks/dnf.yml b/test/integration/targets/dnf/tasks/dnf.yml index 9845f3d..c5f0173 100644 --- a/test/integration/targets/dnf/tasks/dnf.yml +++ b/test/integration/targets/dnf/tasks/dnf.yml @@ -67,6 +67,17 @@ update_cache: True register: dnf_result +- find: + paths: /var/cache/dnf + patterns: "*.rpm" + recurse: true + register: r + +- name: verify that RPM cache is cleared after installation as keepcache is off by default + assert: + that: + - r.matched == 0 + - name: check sos with rpm shell: rpm -q sos failed_when: False -- cgit v1.2.3