d9a596f138
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/iproute#3e3e60bdb8a4a9eac937eb1b076b5f381c6b978c
35 lines
778 B
Bash
Executable File
35 lines
778 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
# ~~~
|
|
# runtest.sh of /CoreOS/iproute/Sanity/ip-route-sanity-test
|
|
# Description: Test basic ip route funcionality
|
|
#
|
|
# Author: Susant Sahani <susant@redhat.com>
|
|
# Copyright (c) 2018 Red Hat, Inc.
|
|
#~~~
|
|
|
|
# Include Beaker environment
|
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
|
|
|
PACKAGE="iproute"
|
|
|
|
rlJournalStart
|
|
rlPhaseStartSetup
|
|
rlAssertRpm $PACKAGE
|
|
rlRun "cp ip-route-tests.py /usr/bin"
|
|
rlPhaseEnd
|
|
|
|
rlPhaseStartTest
|
|
rlLog "ip route tests"
|
|
rlRun "/usr/bin/python3 /usr/bin/ip-route-tests.py"
|
|
rlPhaseEnd
|
|
|
|
rlPhaseStartCleanup
|
|
rlRun "rm /usr/bin/ip-route-tests.py"
|
|
rlLog "ip route tests done"
|
|
rlPhaseEnd
|
|
rlJournalPrintText
|
|
rlJournalEnd
|
|
|
|
rlGetTestState
|