Imported Upstream version 1.4
[debian/gzip] / tests / zdiff
index cafe600598d9dab88d35580a76124d73d3ed70f0..da753c69bea2c93cb13a5bae728f7a514f31ffea 100755 (executable)
@@ -2,7 +2,7 @@
 # Exercise zdiff with two compressed inputs.
 # Before gzip-1.4, this would fail.
 
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009-2010 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
@@ -23,7 +23,8 @@ if test "$VERBOSE" = yes; then
   zdiff --version
 fi
 
-. $srcdir/tests/test-lib.sh
+: ${srcdir=.}
+. "$srcdir/tests/init.sh"; path_prepend_ .
 
 echo a > a || framework_failure
 echo b > b || framework_failure