⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 regress-stage2.sh

📁 FREESWAN VPN源代码包
💻 SH
字号:
#!/bin/sh # This script is used to setup the regression testing environment# invoke the tests and record the results. It expects the following# variables to be in the environment.##    $BUILDSPOOL#    $BRANCH            the name of the branch, or HEAD.#    $TODAY             today's date.## it is expected that $BUILDSPOOL/freeswan contains a checked out copy# of the source tree that is ready for building. ## In general, this script is in fact running from#    $BUILDSPOOL/freeswan/testing/utils/regress-stage2.sh## invoked from regress-nightly.sh. The two stages permit the regress-nightly.sh# scritpt, which must be invoked from outside of the CVS tree to change# very seldom.## This script will further look for $HOME/freeswan-regress-env.sh for a list # of variables to include.## This should include## die if anything dies.set -emkdir -p $BUILDSPOOL/UMLPOOLumlsetup=$BUILDSPOOL/freeswan/umlsetup.shecho "#" `date`                                                     >$umlsetupecho "POOLSPACE=$BUILDSPOOL/UMLPOOL"                               >>$umlsetupecho "BUILDTOP=$BUILDSPOOL/freeswan export BUILDTOP"               >>$umlsetup# freeswan-regress-eng.sh should have the following variables# defined. This should be the only local configuration required.# # KERNPOOL=/abigail/kernel/linux-2.4.17# UMLPATCH=/abigail/user-mode-linux/uml-patch-2.4.17-4.bz2# BASICROOT=/abigail/user-mode-linux/root-6.0# SHAREDIR=${BASICROOT}/usr/share## Please see doc/umltesting.html for details on filling in these variables.#if [ -f $HOME/freeswan-regress-env.sh ]then    cat $HOME/freeswan-regress-env.sh                              >>$umlsetup    . $HOME/freeswan-regress-env.shfiecho "FREESWANDIR=\$BUILDTOP"                                      >>$umlsetupecho "REGULARHOSTS='sunrise sunset nic'"                           >>$umlsetupecho "FREESWANHOSTS='east west japan'"                             >>$umlsetup# setup regression test recording area.REGRESSRESULTS=${REGRESSTREE}/${BRANCH}/${TODAY} export REGRESSRESULTSmkdir -p ${REGRESSRESULTS}perl -e 'print time()."\n";' >${REGRESSRESULTS}/datestampcd $BUILDSPOOL/freeswan && make checkperl $BUILDSPOOL/freeswan/testing/utils/regress-summarize-results.pl $REGRESSRESULTS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -