Imported Upstream version 1.5
[debian/gzip] / tests / memcpy-abuse
index 8f2abd5488f90d55639fb50744ff42cdfe54825f..c585d1d8dc60ca7724dcdef843c93504fc4ef112 100755 (executable)
@@ -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
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # 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