|
|
1052fc6 |
#!/bin/bash
|
|
|
1052fc6 |
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
|
|
1052fc6 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
1052fc6 |
#
|
|
|
b33c408 |
# runtest.sh of /CoreOS/lftp/Sanity/options/cmd-fail-exit
|
|
|
b33c408 |
# Description: Sanity test for cmd:fail-exit option
|
|
|
b33c408 |
# Author: Martin Frodl <mfrodl@redhat.com>
|
|
|
1052fc6 |
#
|
|
|
1052fc6 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
1052fc6 |
#
|
|
|
1052fc6 |
# Copyright (c) 2015 Red Hat, Inc.
|
|
|
1052fc6 |
#
|
|
|
1052fc6 |
# This program is free software: you can redistribute it and/or
|
|
|
1052fc6 |
# modify it under the terms of the GNU General Public License as
|
|
|
1052fc6 |
# published by the Free Software Foundation, either version 2 of
|
|
|
1052fc6 |
# the License, or (at your option) any later version.
|
|
|
1052fc6 |
#
|
|
|
1052fc6 |
# This program is distributed in the hope that it will be
|
|
|
1052fc6 |
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
|
1052fc6 |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
1052fc6 |
# PURPOSE. See the GNU General Public License for more details.
|
|
|
1052fc6 |
#
|
|
|
1052fc6 |
# You should have received a copy of the GNU General Public License
|
|
|
1052fc6 |
# along with this program. If not, see http://www.gnu.org/licenses/.
|
|
|
1052fc6 |
#
|
|
|
1052fc6 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
1052fc6 |
|
|
|
1052fc6 |
# Include Beaker environment
|
|
|
1052fc6 |
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
|
|
1052fc6 |
|
|
|
b33c408 |
PACKAGE="lftp"
|
|
|
1052fc6 |
|
|
|
1052fc6 |
rlJournalStart
|
|
|
1052fc6 |
rlPhaseStartSetup
|
|
|
b33c408 |
rlAssertRpm $PACKAGE
|
|
|
b33c408 |
rlAssertRpm "expect"
|
|
|
1052fc6 |
rlPhaseEnd
|
|
|
1052fc6 |
|
|
|
1052fc6 |
rlPhaseStartTest
|
|
|
b33c408 |
rlRun "./script.exp" 0 "Running reproducer"
|
|
|
1052fc6 |
rlPhaseEnd
|
|
|
1052fc6 |
rlJournalPrintText
|
|
|
1052fc6 |
rlJournalEnd
|