Changeset 29 for trunk/test/testrun_2.sh


Ignore:
Timestamp:
Apr 11, 2006, 1:48:18 PM (18 years ago)
Author:
rainer
Message:

Fixes for test suite, OpenBSD portability, self-resolving, and suidchk patch by Neil

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testrun_2.sh

    r27 r29  
    732732        rm -f ./.samhain_lock*
    733733
    734         SHCLT=`./yule -P $SHPW | sed s%HOSTNAME%${SH_LOCALHOST}%`
     734        SHCLT=`./yule -P $SHPW`
    735735
    736736        if test x$? = x0; then
     
    741741        fi
    742742
    743         echo $SHCLT >> testrc_2
     743        SHCLT1=`echo "${SHCLT}"  | sed s%HOSTNAME%${SH_LOCALHOST}%`
     744        AHOST=`find_hostname`
     745        SHCLT2=`echo "${SHCLT}"  | sed s%HOSTNAME%${AHOST}%`
     746       
     747
     748        echo $SHCLT1 >> testrc_2
     749        echo $SHCLT2 >> testrc_2
    744750        cp testrc_2 testrc_22
    745751
Note: See TracChangeset for help on using the changeset viewer.