Changes in trunk/test/testtimesrv.sh [19:30]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testtimesrv.sh
r19 r30 1 1 #! /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 # 2 21 3 22 RCFILE="$PW_DIR/testrc_1.dyn"; export RCFILE … … 11 30 prep_testdata () 12 31 { 13 chmod -R 0700 "${BASE}" || { 14 [ -z "$quiet" ] && log_msg_fail "chmod -R 0700 ${BASE}"; 15 return 1; 16 } 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 17 38 18 39 rm -rf "${BASE}" || { … … 121 142 # standalone compilation 122 143 # 123 [ -z "$verbose" ] || { echo; echo "${S}Building standalone agent w/timeserver${E}"; echo; }144 [ -z "$verbose" ] || { echo; echo "${S}Building standalone agent${E}"; echo; } 124 145 # 125 146 if test -r "Makefile"; then … … 131 152 if test x$? = x0; then 132 153 [ -z "$verbose" ] || log_msg_ok "configure..."; 133 $MAKE > /dev/null 154 $MAKE > /dev/null 2>>test_log 134 155 if test x$? = x0; then 135 156 [ -z "$verbose" ] || log_msg_ok "make...";
Note:
See TracChangeset
for help on using the changeset viewer.