* tests/misc/sort-compress (SORT): Use $abs_builddir, now which.
* tests/misc/Makefile.am (TESTS_ENVIRONMENT): Export top_builddir.
+2007-01-24 Jim Meyering <jim@meyering.net>
+
+ Don't depend on "which".
+ * tests/misc/sort-compress (SORT): Use $abs_builddir, now which.
+ * tests/misc/Makefile.am (TESTS_ENVIRONMENT): Export top_builddir.
+
2007-01-24 Dan Hipschman <dsh@linux.ucla.edu>
Test sort compression.
# Make miscellaneous coreutils tests. -*-Makefile-*-
-# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
-# Foundation, Inc.
+# Copyright (C) 200-2007 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
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
+ top_builddir=$(top_builddir) \
srcdir=$(srcdir) \
PACKAGE_VERSION=$(PACKAGE_VERSION) \
PERL="$(PERL)" \
cd $tmp || framework_failure=1
seq -w 2000 > exp || framework_failure=1
tac exp > in || framework_failure=1
-SORT=`which sort` || framework_failure=1
+SORT=$top_builddir/src/sort
if test $framework_failure = 1; then
echo "$0: failure in testing framework" 1>&2