X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tests%2Fzgrep-f;fp=tests%2Fzgrep-f;h=5f4b7a002bff819eb10626295d54d83e33986c57;hb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;hp=9184b9c93739c3dc8e335227c3d498703d9f25f4;hpb=c7e61475680fa226bd9b8bdd469cd66914e630f5;p=debian%2Fgzip diff --git a/tests/zgrep-f b/tests/zgrep-f index 9184b9c..5f4b7a0 100644 --- a/tests/zgrep-f +++ b/tests/zgrep-f @@ -2,7 +2,7 @@ # Ensure that zgrep -f - works like grep -f - # Before gzip-1.4, it 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 zgrep --version fi -. $srcdir/tests/test-lib.sh +: ${srcdir=.} +. "$srcdir/tests/init.sh"; path_prepend_ . echo needle > n || framework_failure echo needle > haystack || framework_failure