Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testtimesrv.sh

    r30 r19  
    11#! /bin/sh
    2 
    3 #
    4 # Copyright Rainer Wichmann (2006)
    5 #
    6 # License Information:
    7 # This program is free software; you can redistribute it and/or modify
    8 # it under the terms of the GNU General Public License as published by
    9 # the Free Software Foundation; either version 2 of the License, or
    10 # (at your option) any later version.
    11 #
    12 # This program is distributed in the hope that it will be useful,
    13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    15 # GNU General Public License for more details.
    16 #
    17 # You should have received a copy of the GNU General Public License
    18 # along with this program; if not, write to the Free Software
    19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    20 #
    212
    223RCFILE="$PW_DIR/testrc_1.dyn";  export RCFILE
     
    3011prep_testdata ()
    3112{
    32     if test -d "$BASE"; then
    33         chmod -R 0700 "${BASE}" || {
    34             [ -z "$quiet" ] &&   log_msg_fail "chmod -R 0700 ${BASE}";
    35             return 1;
    36         }
    37     fi
     13    chmod -R 0700 "${BASE}" || {
     14        [ -z "$quiet" ] &&   log_msg_fail "chmod -R 0700 ${BASE}";
     15        return 1;
     16    }
    3817
    3918    rm -rf "${BASE}" || {
     
    142121        # standalone compilation
    143122        #
    144         [ -z "$verbose" ] || { echo; echo "${S}Building standalone agent${E}"; echo; }
     123        [ -z "$verbose" ] || { echo; echo "${S}Building standalone agent w/timeserver${E}"; echo; }
    145124        #
    146125        if test -r "Makefile"; then
     
    152131        if test x$? = x0; then
    153132                [ -z "$verbose" ] ||     log_msg_ok "configure...";
    154                 $MAKE  > /dev/null 2>>test_log
     133                $MAKE  > /dev/null
    155134                if test x$? = x0; then
    156135                    [ -z "$verbose" ] || log_msg_ok "make...";
Note: See TracChangeset for help on using the changeset viewer.