Skip to content

Commit badd250

Browse files
committed
Add regression test for bsc#1259250
1 parent b509462 commit badd250

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/console/sssd_389ds_functional.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ no warnings 'experimental::signatures';
2828
sub install_dependencies($container_engine) {
2929
zypper_call("in sudo nscd") unless (is_tumbleweed || is_sle('>=16'));
3030
install_package("sssd sssd-ldap openldap2-client sshpass $container_engine", trup_reboot => 1);
31+
record_info('bsc#1259250', 'Checking if sssd.conf is present after fresh install');
32+
my $conf_path = '/etc/sssd/sssd.conf';
33+
my $output = script_output("ls -l $conf_path 2>&1 || echo 'MISSING'");
34+
die 'bsc#1259250 - sssd.conf is missing after installation' if ($output =~ /MISSING|No such file/);
3135
systemctl("enable --now $container_engine") if ($container_engine eq "docker");
3236
return $container_engine;
3337
}

0 commit comments

Comments
 (0)