diff --git a/Dockerfile b/Dockerfile index 384f666..1c38dd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ LABEL MAINTAINER "Petr Hracek" COPY repos/* /etc/yum.repos.d/ RUN microdnf --nodocs --enablerepo fedora install findutils libtevent && \ microdnf --nodocs --enablerepo perl install perl perl-Time-HiRes && \ - microdnf --nodocs --enablerepo sssd install sssd sssd-dbus realmd && \ + microdnf --nodocs --enablerepo sssd install sssd sssd-dbus sssd-common realmd && \ microdnf -y clean all RUN rm -f /usr/bin/sss_ssh_authorizedkeys COPY dbus.service /etc/systemd/system/dbus.service diff --git a/tests/Makefile b/tests/Makefile index 8fd8ae7..961edb9 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,4 +1,4 @@ -MODULE_LINT=/usr/share/moduleframework/tools/modulelint.py +MODULE_LINT=/home/phracek/work/programming/modularity-testing-framework/tools/modulelint.py CMD=python -m avocado run --filter-by-tags=-WIP $(MODULE_LINT) *.py # diff --git a/tests/config.yaml b/tests/config.yaml index 176091d..5c6392d 100644 --- a/tests/config.yaml +++ b/tests/config.yaml @@ -14,7 +14,6 @@ packages: - sssd-tools module: docker: - start: "docker run -it" source: https://github.com/container-images/sssd.git container: docker.io/modularitycontainers/sssd rpm: diff --git a/tests/sanity1.py b/tests/sanity1.py index 2027d06..e4b2d65 100644 --- a/tests/sanity1.py +++ b/tests/sanity1.py @@ -34,8 +34,8 @@ class SanitySSSDCheck(module_framework.AvocadoTest): def test_sssd_exist(self): self.start() - self.run("ls /usr/bin/sssd") - self.run("/usr/bin/sssd") + self.run("ls /usr/sbin/sssd") + self.run("/usr/sbin/sssd") if __name__ == '__main__':