diff --git a/tests/miscellaneous-tests/lldpd-tests.py b/tests/miscellaneous-tests/lldpd-tests.py index 3b78954..e7c68b0 100755 --- a/tests/miscellaneous-tests/lldpd-tests.py +++ b/tests/miscellaneous-tests/lldpd-tests.py @@ -17,7 +17,6 @@ import subprocess import signal import shutil import re -import psutil import socket LLDPD_TCP_DUMP_FILE='/tmp/lldpd-tcp-dump.pcap' diff --git a/tests/miscellaneous-tests/runtest.sh b/tests/miscellaneous-tests/runtest.sh index acf5d5c..a47923b 100755 --- a/tests/miscellaneous-tests/runtest.sh +++ b/tests/miscellaneous-tests/runtest.sh @@ -2,7 +2,7 @@ # SPDX-License-Identifier: LGPL-2.1+ # ~~~ # LLDPD integration test -# Description: Test for ladpd:implementation of IEEE 802.1ab (LLDP) +# Description: Test for lldpd:implementation of IEEE 802.1ab (LLDP) # # Author: Susant Sahani # Copyright (c) 2018 Red Hat, Inc. @@ -12,7 +12,7 @@ . /usr/share/beakerlib/beakerlib.sh || exit 1 PACKAGE="lldpd" -LadpdPidFile="/var/run/lldpd.pid" +LldpdPidFile="/var/run/lldpd.pid" rlJournalStart rlPhaseStartSetup @@ -21,13 +21,13 @@ rlJournalStart rlPhaseEnd rlPhaseStartTest - rlLog "lladpd tests" + rlLog "lldpd tests" rlRun "/usr/bin/python3 /usr/bin/lldpd-tests.py" rlPhaseEnd rlPhaseStartCleanup rlRun "rm /usr/bin/lldpd-tests.py" - rlLog "lladpd tests done" + rlLog "lldpd tests done" rlPhaseEnd rlJournalPrintText rlJournalEnd