From: Miek Gieben Date: Tue, 15 Nov 2005 13:56:11 +0000 (+0000) Subject: only works on linux for now X-Git-Tag: release-1.1.0~617 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d79ee101892b9941e804f39ce157bf8ea7e1ba3d;p=thirdparty%2Fldns.git only works on linux for now --- diff --git a/test/05-nm.tpkg b/test/05-nm.tpkg index 3f849e2a..496a01d2 100644 --- a/test/05-nm.tpkg +++ b/test/05-nm.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-11-15 14:49 CET by . +# Made on 2005-11-15 14:55 CET by . # Source directory was `/home/miekg/svn/libdns/trunk/test/05-nm.dir'. # # Existing files will *not* be overwritten unless `-c' is specified. @@ -14,7 +14,7 @@ # 282 -rw------- 05-nm.dsc # 171 -rw------- 05-nm.help # 11689 -rw------- 05-nm.known-good-sym -# 602 -rw------- 05-nm.test +# 718 -rw------- 05-nm.test # save_IFS="${IFS}" IFS="${IFS}:" @@ -64,7 +64,7 @@ else fi rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch # -if mkdir _sh01670; then +if mkdir _sh01980; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' @@ -754,22 +754,29 @@ wdiff 05-nm.current-sym 05-nm.known-good-sym fail=$? rm -f 05-nm.current-sym X -exit $fail +case $OSTYPE in +X linux*) +X exit $fail +X ;; +X freebsd*) +X exit 0 +X ;; +esac SHAR_EOF - (set 20 05 11 15 14 49 17 '05-nm.test'; eval "$shar_touch") && + (set 20 05 11 15 14 55 22 '05-nm.test'; eval "$shar_touch") && chmod 0600 '05-nm.test' || $echo 'restore of' '05-nm.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 '05-nm.test:' 'MD5 check failed' -f4be78603d95b1be75d737a0bb04228d 05-nm.test +b5009012109725f19c918fdcabb8e727 05-nm.test SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < '05-nm.test'`" - test 602 -eq "$shar_count" || - $echo '05-nm.test:' 'original size' '602,' 'current size' "$shar_count!" + test 718 -eq "$shar_count" || + $echo '05-nm.test:' 'original size' '718,' 'current size' "$shar_count!" fi fi -rm -fr _sh01670 +rm -fr _sh01980 exit 0