From: Miek Gieben Date: Wed, 19 Oct 2005 17:03:29 +0000 (+0000) Subject: updated the tests X-Git-Tag: release-1.0.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=993bac13f607e7addeb0a0532f92fe5be0aaefe2;p=thirdparty%2Fldns.git updated the tests --- diff --git a/test/01-compile.tpkg b/test/01-compile.tpkg index b4027bda..012158e7 100644 --- a/test/01-compile.tpkg +++ b/test/01-compile.tpkg @@ -3,7 +3,7 @@ # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # -# Made on 2005-10-19 14:28 CEST by . +# Made on 2005-10-19 19:03 CEST by . # Source directory was `/home/miekg/svn/libdns/trunk/test/01-compile.dir'. # # Existing files will *not* be overwritten unless `-c' is specified. @@ -12,7 +12,7 @@ # length mode name # ------ ---------- ------------------------------------------ # 223 -rw------- 01-compile.dsc -# 497 -rw------- 01-compile.test +# 438 -rw------- 01-compile.test # save_IFS="${IFS}" IFS="${IFS}:" @@ -62,7 +62,7 @@ else fi rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch # -if mkdir _sh01288; then +if mkdir _sh09979; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' @@ -110,8 +110,8 @@ if test -f '01-compile.test' && test "$first_param" != -c; then else $echo 'x -' extracting '01-compile.test' '(text)' sed 's/^X//' << 'SHAR_EOF' > '01-compile.test' && -[ -f /home/miekg/svn/libdns/trunk/test/tpkg.var ] && source /home/miekg/svn/libdns/trunk/test/tpkg.var -X +[ -f ../.tpkg.var ] && source ../.tpkg.var +# # first arg is the build dir TPKG_BUILD=$1 X @@ -132,20 +132,20 @@ X gmake X ;; esac SHAR_EOF - (set 20 05 10 19 14 27 39 '01-compile.test'; eval "$shar_touch") && + (set 20 05 10 19 19 03 01 '01-compile.test'; eval "$shar_touch") && chmod 0600 '01-compile.test' || $echo 'restore of' '01-compile.test' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo '01-compile.test:' 'MD5 check failed' -4caac3c50e70bbc82c11f7936b2fadf4 01-compile.test +e1152908b2e265b088ee94b221d0e2c6 01-compile.test SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < '01-compile.test'`" - test 497 -eq "$shar_count" || - $echo '01-compile.test:' 'original size' '497,' 'current size' "$shar_count!" + test 438 -eq "$shar_count" || + $echo '01-compile.test:' 'original size' '438,' 'current size' "$shar_count!" fi fi -rm -fr _sh01288 +rm -fr _sh09979 exit 0