From: Miek Gieben Date: Wed, 4 Jan 2006 13:30:14 +0000 (+0000) Subject: new and improved test X-Git-Tag: release-1.1.0~492 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70772a47d95451fe6548bfa11e53cbb8a1ac247;p=thirdparty%2Fldns.git new and improved test --- diff --git a/test/04-run-normal.tpkg b/test/04-run-normal.tpkg index a4aaa688..12431a54 100644 --- a/test/04-run-normal.tpkg +++ b/test/04-run-normal.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 2006-01-04 14:24 CET by . +# Made on 2006-01-04 14:30 CET by . # Source directory was `/home/miekg/svn/libdns/trunk/test/04-run-normal.dir'. # # Existing files will *not* be overwritten unless `-c' is specified. @@ -13,7 +13,7 @@ # ------ ---------- ------------------------------------------ # 277 -rw------- 04-run-normal.dsc # 51 -rw------- 04-run-normal.help -# 659 -rw------- 04-run-normal.test +# 654 -rw------- 04-run-normal.test # save_IFS="${IFS}" IFS="${IFS}:" @@ -63,7 +63,7 @@ else fi rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch # -if mkdir _sh25096; then +if mkdir _sh25469; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' @@ -154,25 +154,25 @@ if [[ $? -ne 0 ]]; then X exit 1 fi X -LD_LIBRARY_PATH=../.libs ./drill @ mx miek.nl && \ +LD_LIBRARY_PATH=../.libs ./drill @ mx miek.nl if [[ $? -ne 1 ]]; then X exit 1 fi SHAR_EOF - (set 20 06 01 04 14 24 43 '04-run-normal.test'; eval "$shar_touch") && + (set 20 06 01 04 14 29 57 '04-run-normal.test'; eval "$shar_touch") && chmod 0600 '04-run-normal.test' || $echo 'restore of' '04-run-normal.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 '04-run-normal.test:' 'MD5 check failed' -0f8beb648741fc661c11c5936c8475d5 04-run-normal.test +035338a953c9c2a032a5d89deb0739ce 04-run-normal.test SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < '04-run-normal.test'`" - test 659 -eq "$shar_count" || - $echo '04-run-normal.test:' 'original size' '659,' 'current size' "$shar_count!" + test 654 -eq "$shar_count" || + $echo '04-run-normal.test:' 'original size' '654,' 'current size' "$shar_count!" fi fi -rm -fr _sh25096 +rm -fr _sh25469 exit 0