Commit 486f6e81 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

support tests of snapshot tar balls

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
parent f3d25d23
#!/bin/sh
# this is <packagetest>
# ----------------------------------------------------------------------------
# $Id: $
#
# Copyright (c) 2014 by Thomas Forbriger (BFO Schiltach)
#
# a shell to set up a test environment
#
# REVISIONS and CHANGES
# 19/01/2014 V1.0 Thomas Forbriger
#
# ============================================================================
#
RCFILE=$(dirname $TF_MAKEPKG)/packagetest.bashrc
. $RCFILE
if test $# -lt 1
then
echo please provide package name on command line
exit 2
fi
PACKAGE=$1
PACKAGETARGZ=$PACKAGE.tar.gz
PACKAGETGZPATH=${TF_PUBLICATIONPATH}/$PACKAGETARGZ
TMP=$HOME/tmp/packagetest
/bin/rm -rfv ${TMP}
mkdir -pv ${TMP}
cd ${TMP}
tar xvfpsz $PACKAGETGZPATH
cd $PACKAGE
./install.sh
# ----- END OF packagetest -----
#!/bin/sh
# this is <packagetest.bashrc>
# ----------------------------------------------------------------------------
# $Id: $
#
# Copyright (c) 2014 by Thomas Forbriger (BFO Schiltach)
#
# set environment variables for a package test
#
# REVISIONS and CHANGES
# 19/01/2014 V1.0 Thomas Forbriger
#
# ============================================================================
#
unset SERVERLIBDIR
unset SERVERINCLUDEDIR
unset LOCLIBDIR
unset LOCINCLUDEDIR
unset LOCBINDIR
# ----- END OF packagetest.bashrc -----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment