Merge #5 tests: cleanup imports and spelling

This commit is contained in:
Aaron Conole 2022-09-15 12:20:21 +00:00
commit f8e69988b0
3 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,6 @@ import subprocess
import signal import signal
import shutil import shutil
import re import re
import psutil
import socket import socket
LLDPD_TCP_DUMP_FILE='/tmp/lldpd-tcp-dump.pcap' LLDPD_TCP_DUMP_FILE='/tmp/lldpd-tcp-dump.pcap'

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: LGPL-2.1+ # SPDX-License-Identifier: LGPL-2.1+
# ~~~ # ~~~
# LLDPD integration test # 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 <susant@redhat.com> # Author: Susant Sahani <susant@redhat.com>
# Copyright (c) 2018 Red Hat, Inc. # Copyright (c) 2018 Red Hat, Inc.
@ -12,7 +12,7 @@
. /usr/share/beakerlib/beakerlib.sh || exit 1 . /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="lldpd" PACKAGE="lldpd"
LadpdPidFile="/var/run/lldpd.pid" LldpdPidFile="/var/run/lldpd.pid"
rlJournalStart rlJournalStart
rlPhaseStartSetup rlPhaseStartSetup
@ -21,13 +21,13 @@ rlJournalStart
rlPhaseEnd rlPhaseEnd
rlPhaseStartTest rlPhaseStartTest
rlLog "lladpd tests" rlLog "lldpd tests"
rlRun "/usr/bin/python3 /usr/bin/lldpd-tests.py" rlRun "/usr/bin/python3 /usr/bin/lldpd-tests.py"
rlPhaseEnd rlPhaseEnd
rlPhaseStartCleanup rlPhaseStartCleanup
rlRun "rm /usr/bin/lldpd-tests.py" rlRun "rm /usr/bin/lldpd-tests.py"
rlLog "lladpd tests done" rlLog "lldpd tests done"
rlPhaseEnd rlPhaseEnd
rlJournalPrintText rlJournalPrintText
rlJournalEnd rlJournalEnd

View File

@ -10,4 +10,5 @@
- python3 - python3
- tcpdump - tcpdump
- systemd - systemd
- systemd-networkd
- iproute - iproute