|
root |
a970695 |
#!/bin/bash
|
|
root |
a970695 |
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
|
root |
a970695 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
root |
a970695 |
#
|
|
root |
a970695 |
# runtest.sh of /CoreOS/python/libunistring-tests
|
|
root |
a970695 |
# Description: Functional tests for libunistring to check i18n features.
|
|
root |
a970695 |
# Author: Pooja Yadav <poyadav@redhat.com>
|
|
root |
a970695 |
#
|
|
root |
a970695 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
root |
a970695 |
#
|
|
root |
a970695 |
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
|
|
root |
a970695 |
#
|
|
root |
a970695 |
# This copyrighted material is made available to anyone wishing
|
|
root |
a970695 |
# to use, modify, copy, or redistribute it subject to the terms
|
|
root |
a970695 |
# and conditions of the GNU General Public License version 2.
|
|
root |
a970695 |
#
|
|
root |
a970695 |
# This program is distributed in the hope that it will be
|
|
root |
a970695 |
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
root |
a970695 |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
root |
a970695 |
# PURPOSE. See the GNU General Public License for more details.
|
|
root |
a970695 |
#
|
|
root |
a970695 |
# You should have received a copy of the GNU General Public
|
|
root |
a970695 |
# License along with this program; if not, write to the Free
|
|
root |
a970695 |
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
root |
a970695 |
# Boston, MA 02110-1301, USA.
|
|
root |
a970695 |
#
|
|
root |
a970695 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
root |
a970695 |
|
|
root |
a970695 |
# Include Beaker environment
|
|
root |
a970695 |
. /usr/bin/rhts-environment.sh
|
|
root |
a970695 |
. /usr/lib/beakerlib/beakerlib.sh
|
|
root |
a970695 |
|
|
root |
a970695 |
PACKAGE="libunistring"
|
|
root |
a970695 |
|
|
root |
a970695 |
rlJournalStart
|
|
root |
a970695 |
rlPhaseStartSetup
|
|
root |
a970695 |
rlAssertRpm $PACKAGE
|
|
root |
a970695 |
rlRun "TmpDir=\`mktemp -d\`" 0 "Creating tmp directory"
|
|
root |
a970695 |
rlRun "cp libunistring_test.py test $TmpDir"
|
|
root |
a970695 |
rlRun "pushd $TmpDir"
|
|
root |
a970695 |
rlPhaseEnd
|
|
root |
a970695 |
|
|
root |
a970695 |
rlPhaseStartTest
|
|
root |
a970695 |
rlLog "Run libunistring_test.py"
|
|
root |
a970695 |
rlRun "python libunistring_test.py"
|
|
root |
a970695 |
rlPhaseEnd
|
|
root |
a970695 |
|
|
root |
a970695 |
rlPhaseStartCleanup
|
|
root |
a970695 |
rlRun "popd"
|
|
root |
a970695 |
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
|
root |
a970695 |
rlPhaseEnd
|
|
root |
a970695 |
rlJournalPrintText
|
|
root |
a970695 |
rlJournalEnd
|
|
root |
a970695 |
|