From: Miek Gieben Date: Wed, 19 Oct 2005 17:19:07 +0000 (+0000) Subject: updates the PATH for lint too X-Git-Tag: release-1.0.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12fa5d4530a9198c2fd3d6f6c0850561d5dabde3;p=thirdparty%2Fldns.git updates the PATH for lint too --- diff --git a/test/02-lint.tpkg b/test/02-lint.tpkg index 6b4b82c0..41519ac4 100644 --- a/test/02-lint.tpkg +++ b/test/02-lint.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:10 CEST by . +# Made on 2005-10-19 19:18 CEST by . # Source directory was `/home/miekg/svn/libdns/trunk/test/02-lint.dir'. # # Existing files will *not* be overwritten unless `-c' is specified. @@ -12,7 +12,7 @@ # length mode name # ------ ---------- ------------------------------------------ # 245 -rw------- 02-lint.dsc -# 187 -rw------- 02-lint.test +# 255 -rw------- 02-lint.test # save_IFS="${IFS}" IFS="${IFS}:" @@ -62,7 +62,7 @@ else fi rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch # -if mkdir _sh00594; then +if mkdir _sh10744; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' @@ -112,6 +112,8 @@ else sed 's/^X//' << 'SHAR_EOF' > '02-lint.test' && [ -f ../.tpkg.var ] && source ../.tpkg.var X +export PATH=$PATH:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:. +X TPKG_BUILD=$1 cd $TPKG_BUILD case $OSTYPE in @@ -123,20 +125,20 @@ X gmake lint X ;; esac SHAR_EOF - (set 20 05 10 19 14 09 38 '02-lint.test'; eval "$shar_touch") && + (set 20 05 10 19 19 18 52 '02-lint.test'; eval "$shar_touch") && chmod 0600 '02-lint.test' || $echo 'restore of' '02-lint.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 '02-lint.test:' 'MD5 check failed' -079338351bcd7a94ecfe6fd7f2e46a4b 02-lint.test +5aa036d2edb67ded1bba8f23bc0133f1 02-lint.test SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < '02-lint.test'`" - test 187 -eq "$shar_count" || - $echo '02-lint.test:' 'original size' '187,' 'current size' "$shar_count!" + test 255 -eq "$shar_count" || + $echo '02-lint.test:' 'original size' '255,' 'current size' "$shar_count!" fi fi -rm -fr _sh00594 +rm -fr _sh10744 exit 0