@@ -30,7 +30,7 @@ Scenario: Cleanup of the whole cache (dnf clean all)
3030 Then the exit code is 0
3131 And stdout matches line by line
3232 """
33- Removed 4 files, 4 directories \(total of [0-9]* KiB\). 0 errors occurred.
33+ ( Removed 4 files, 4 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.)
3434 """
3535 When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf"
3636 Then stdout matches line by line
@@ -57,7 +57,7 @@ Scenario: Cleanup of the whole cache, cache contains link pointing outside, cont
5757 Then the exit code is 0
5858 And stdout matches line by line
5959 """
60- Removed 6 files, 4 directories \(total of [0-9]* KiB\). 0 errors occurred.
60+ ( Removed 6 files, 4 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.)
6161 """
6262 And directory "/var/cache/dnf" is empty
6363 And file "/tmp/user_dir/user_file1" exists
@@ -69,7 +69,7 @@ Scenario: Cached metadata cleanup (dnf clean metadata)
6969 Then the exit code is 0
7070 And stdout matches line by line
7171 """
72- Removed 3 files, 2 directories \(total of [0-9]* KiB\). 0 errors occurred.
72+ ( Removed 3 files, 2 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.)
7373 """
7474 When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf"
7575 Then stdout matches line by line
@@ -86,7 +86,7 @@ Scenario: Cached packages cleanup (dnf clean packages)
8686 Then the exit code is 0
8787 And stdout matches line by line
8888 """
89- Removed 1 files, 1 directories \(total of [0-9]* KiB\). 0 errors occurred.
89+ ( Removed 1 files, 1 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.)
9090 """
9191 When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf"
9292 Then stdout matches line by line
@@ -106,7 +106,7 @@ Scenario: Database cached cleanup (dnf clean dbcache)
106106 Then the exit code is 0
107107 And stdout matches line by line
108108 """
109- Removed 1 files, 1 directories \(total of [0-9]* KiB\). 0 errors occurred.
109+ ( Removed 1 files, 1 directories \(total of [0-9]* KiB\). 0 errors occurred.|Cache successfully cleaned.)
110110 """
111111 When I execute "find | sort" in "{context.dnf.installroot}/var/cache/dnf"
112112 Then stdout matches line by line
0 commit comments