]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
test fixup.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 Sep 2007 11:47:45 +0000 (11:47 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 Sep 2007 11:47:45 +0000 (11:47 +0000)
git-svn-id: file:///svn/unbound/trunk@639 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/plan
testcode/mini_tpkg.sh
testcode/testbed.sh

index 709b70236a0659146e1bdad344b4f760dcf2f183..21f0119d56c067a7f324c2f1575e7ac6d8854088 100644 (file)
--- a/doc/plan
+++ b/doc/plan
@@ -181,6 +181,8 @@ Styleguide:
        or 1/number of seconds it takes start up of 10k.
 * should the source include a copy of the ldns lib for ease of building by 
   new users.
+* no greedy TTL algo (and test). 
+* maximum TTL, cap incoming values, and config option.
 
 *** Local zones feature.
 * Build in local zone features. First the total stop for1912.
index 283581ff907ef99f2af063f8c14e13641c1c7aed..5b376432c159e1753c1f653674e4e165eb5bc896 100755 (executable)
@@ -43,12 +43,13 @@ fi
 shift
 
 # do not execute if the disk is too full
-DISKLIMIT=100000
-avail=`df . | tail -1 | awk '{print $4}'`
-if test "$avail" -lt "$DISKLIMIT"; then
-       echo "minitpkg: The disk is too full! Only $avail."
-       exit 1
-fi
+#DISKLIMIT=100000
+# This check is not portable (to Solaris 10).
+#avail=`df . | tail -1 | awk '{print $4}'`
+#if test "$avail" -lt "$DISKLIMIT"; then
+       #echo "minitpkg: The disk is too full! Only $avail."
+       #exit 1
+#fi
 
 name=`basename $1 .tpkg`
 dir=$name.$$
index f338964435897dff11142e30d245a357b59219a8..713c7cfad6d520f1ae23439dca187be16b2e7838 100755 (executable)
@@ -77,12 +77,11 @@ EOF
                # echossh $1 "gtar xzf unbound_ttt.tar.gz && rm unbound_ttt.tar.gz"
        fi
        echossh $1 "cd $2; $MAKE_CMD -f makeconf.mak.$$ Makefile"
-       echossh $1 "cd $2; $MAKE_CMD"
+       echossh $1 "cd $2; $MAKE_CMD all tests"
        echossh $1 "cd $2; $MAKE_CMD doc"
        if test $RUN_TEST = yes; then
-       echossh $1 "cd $2/testdata; tpkg clean"
        echossh $1 "cd $2; bash testcode/do-tests.sh"
-       echossh $1 "cd $2/testdata; tpkg -q report" | tee -a $REPORT_FILE
+       echossh $1 "cd $2/testdata; sh ../testcode/mini_tpkg.sh -q report" | tee -a $REPORT_FILE
        fi
        echossh $1 "cd $2; rm -f makeconf.mak.$$"
        rm -f makeconf.mak.$$