X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tests%2Fmemcpy-abuse;h=4b7ae00dee0e2ee850f551112f110aaaf9023c59;hb=0f3fd696606ddc69dde22f5171903fd59989a735;hp=8f2abd5488f90d55639fb50744ff42cdfe54825f;hpb=dc0ab95dbae38577efebe2283fc9b76e92ef4233;p=debian%2Fgzip diff --git a/tests/memcpy-abuse b/tests/memcpy-abuse index 8f2abd5..4b7ae00 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-2013 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