Blame tests/ip-address-label-sanity-test/runtest.sh

Petr Šabata d9a596
#!/bin/bash
Petr Šabata d9a596
# SPDX-License-Identifier: LGPL-2.1+
Petr Šabata d9a596
# ~~~
Petr Šabata d9a596
#   runtest.sh of /CoreOS/iproute/Sanity/ip-address-label-sanity-test
Petr Šabata d9a596
#   Description: Test basic ip address label funcionality
Petr Šabata d9a596
#
Petr Šabata d9a596
#   Author: Susant Sahani <susant@redhat.com>
Petr Šabata d9a596
#   Copyright (c) 2018 Red Hat, Inc.
Petr Šabata d9a596
#~~~
Petr Šabata d9a596
Petr Šabata d9a596
# Include Beaker environment
Petr Šabata d9a596
. /usr/share/beakerlib/beakerlib.sh || exit 1
Petr Šabata d9a596
Petr Šabata d9a596
PACKAGE="iproute"
Petr Šabata d9a596
Petr Šabata d9a596
rlJournalStart
Petr Šabata d9a596
    rlPhaseStartSetup
Petr Šabata d9a596
        rlAssertRpm $PACKAGE
Petr Šabata d9a596
        rlRun "cp ip-address-label-tests.py /usr/bin"
Petr Šabata d9a596
    rlPhaseEnd
Petr Šabata d9a596
Petr Šabata d9a596
    rlPhaseStartTest
Petr Šabata d9a596
        rlLog "ip address label tests"
Petr Šabata d9a596
        rlRun "/usr/bin/python3 /usr/bin/ip-address-label-tests.py"
Petr Šabata d9a596
    rlPhaseEnd
Petr Šabata d9a596
Petr Šabata d9a596
    rlPhaseStartCleanup
Petr Šabata d9a596
        rlRun "rm /usr/bin/ip-address-label-tests.py"
Petr Šabata d9a596
        rlLog "ip address label tests done"
Petr Šabata d9a596
    rlPhaseEnd
Petr Šabata d9a596
rlJournalPrintText
Petr Šabata d9a596
rlJournalEnd
Petr Šabata d9a596
Petr Šabata d9a596
rlGetTestState