X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tests%2Fmemcpy-abuse;h=d2225bcc435798f94f3938e7cec6224de9b6d00e;hb=975508caa09d733099498ff9f7b8079cd71d7109;hp=95bc8ca4b80653cfe092494433496c09018fc586;hpb=cba5e3591649f0467f2154e9d371e358711f747d;p=debian%2Fgzip diff --git a/tests/memcpy-abuse b/tests/memcpy-abuse index 95bc8ca..d2225bc 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-2018 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 @@ -15,20 +15,14 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# 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" +. "${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