X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tests%2Fmemcpy-abuse;h=c585d1d8dc60ca7724dcdef843c93504fc4ef112;hb=dc84183747ce1703eb99685b5dbde1f65a143c06;hp=8f2abd5488f90d55639fb50744ff42cdfe54825f;hpb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;p=debian%2Fgzip diff --git a/tests/memcpy-abuse b/tests/memcpy-abuse index 8f2abd5..c585d1d 100755 --- a/tests/memcpy-abuse +++ b/tests/memcpy-abuse @@ -2,7 +2,7 @@ # Before gzip-1.4, this the use of memcpy in inflate_codes could # mistakenly operate on overlapping regions. Exercise that code. -# Copyright (C) 2010 Free Software Foundation, Inc. +# Copyright (C) 2010-2012 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,17 +18,11 @@ # along with this program. If not, see . # limit so don't run it by default. -if test "$VERBOSE" = yes; then - set -x - gzip --version -fi - -: ${srcdir=.} -. "$srcdir/tests/init.sh"; path_prepend_ . +. "${srcdir=.}/init.sh"; path_prepend_ .. # The input must be larger than 32KiB and slightly # less uniform than e.g., all zeros. -printf wxy%032767d 0 | tee in | gzip > in.gz || framework_failure +printf wxy%032767d 0 | tee in | gzip > in.gz || framework_failure_ fail=0