File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# SUSE's openQA tests
22#
3- # Copyright 2018-2020 SUSE LLC
3+ # Copyright 2018-2025 SUSE LLC
44# SPDX-License-Identifier: FSFAP
55
66# Package: systemd
@@ -37,7 +37,7 @@ use constant {
3737
3838# Tumbleweed uses a persistent journal, Leap 15.3+ (except 15.3 AArch64 JeOS) inherits SLE's default
3939sub has_default_persistent_journal {
40- return is_tumbleweed || (is_leap(' =15.3' ) && check_var(' FLAVOR' , ' JeOS-for-AArch64' ));
40+ return is_tumbleweed || is_sle( ' 16.0+ ' ) || (is_leap(' =15.3' ) && check_var(' FLAVOR' , ' JeOS-for-AArch64' ));
4141}
4242
4343# If the daemon is stopped uncleanly, or if the files are found to be corrupted, they are renamed using the ".journal~" suffix
@@ -176,7 +176,7 @@ sub run {
176176 # To enable persistent logging in opensuse, we use systemd-logger.rpm that creates */var/log/journal/* directory
177177 get_current_boot_id \@boots ;
178178 if (has_default_persistent_journal) {
179- if (is_tumbleweed) {
179+ if (is_tumbleweed || is_sle( ' 16.0+ ' ) ) {
180180 script_output(sprintf (" test -d %s && ls --almost-all %s " , PERSISTENT_LOG_DIR, PERSISTENT_LOG_DIR));
181181 } else {
182182 assert_script_run ' rpm -q systemd-logger' ;
You can’t perform that action at this time.
0 commit comments