From 124adb3a19cacbf41c236d47a19cb389bb815c01 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 24 Jan 2007 00:34:54 +0100 Subject: Don't depend on "which". * tests/misc/sort-compress (SORT): Use $abs_builddir, now which. * tests/misc/Makefile.am (TESTS_ENVIRONMENT): Export top_builddir. --- tests/misc/sort-compress | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/misc/sort-compress') diff --git a/tests/misc/sort-compress b/tests/misc/sort-compress index 79970807b..7e92fe59c 100755 --- a/tests/misc/sort-compress +++ b/tests/misc/sort-compress @@ -33,7 +33,7 @@ mkdir -p $tmp || framework_failure=1 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 -- cgit v1.2.3-54-g00ecf