From f0aba117d740abed529af606ba1b26d8c5e120a3 Mon Sep 17 00:00:00 2001 From: Filip Dvorak Date: Thu, 30 Sep 2021 10:51:37 +0200 Subject: [PATCH] add python3 and python3-psutil into makefile Resolves: rhbz#1990392 --- tests/auth-tests/Makefile | 2 +- tests/auth-tests/runtest.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/auth-tests/Makefile b/tests/auth-tests/Makefile index afb1a73..61e608e 100644 --- a/tests/auth-tests/Makefile +++ b/tests/auth-tests/Makefile @@ -27,7 +27,7 @@ $(METADATA): Makefile @echo "Type: Sanity" >> $(METADATA) @echo "TestTime: 5m" >> $(METADATA) @echo "RunFor: freeradius" >> $(METADATA) - @echo "Requires: freeradius" >> $(METADATA) + @echo "Requires: freeradius freeradius-utils python3 python3-psutil" >> $(METADATA) @echo "Priority: Normal" >> $(METADATA) @echo "License: GPLv2" >> $(METADATA) @echo "Confidential: no" >> $(METADATA) diff --git a/tests/auth-tests/runtest.sh b/tests/auth-tests/runtest.sh index bf65f99..1ffb4a3 100755 --- a/tests/auth-tests/runtest.sh +++ b/tests/auth-tests/runtest.sh @@ -48,8 +48,6 @@ rlJournalStart rlRun "cp clients.conf $RADIUS_CLIENT_CONF" rlRun "cp authorize $RADIUD_PALIN_TEXT_AUTH_FILE" rlRun "systemctl daemon-reload" - #psutil module is missing - pip3 install psutil #manually generate default certificates generate_cert rlPhaseEnd