test-pread.sh: clean up
authorJim Meyering <meyering@redhat.com>
Wed, 25 Nov 2009 15:52:47 +0000 (16:52 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 25 Nov 2009 15:52:47 +0000 (16:52 +0100)
* tests/test-pread.sh: Don't refer to $builddir. Just use equivalent ".".
* modules/pread-tests (TESTS_ENVIRONMENT): Don't export builddir.
That is unnecessary, since it's always ".".
Suggestion from Eric Blake.

ChangeLog
modules/pread-tests
tests/test-pread.sh

index 04898b0..09a03dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-11-25  Jim Meyering  <meyering@redhat.com>
 
+       test-pread.sh: clean up
+       * tests/test-pread.sh: Don't refer to $builddir. Just use equivalent ".".
+       * modules/pread-tests (TESTS_ENVIRONMENT): Don't export builddir.
+       That is unnecessary, since it's always ".".
+       Suggestion from Eric Blake.
+
        test-pread.sh: make executable
        * tests/test-pread.sh: Set executable bit.
        Reported by Eric Blake.
index 7a4e7a7..9d3dec8 100644 (file)
@@ -10,5 +10,4 @@ Makefile.am:
 TESTS += test-pread.sh
 check_PROGRAMS += test-pread
 TESTS_ENVIRONMENT +=   \
-  srcdir='$(srcdir)'   \
-  builddir='$(builddir)'
+  srcdir='$(srcdir)'
index fba415e..98971a4 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
-: ${srcdir=.} ${builddir=.}
-. $srcdir/init.sh --set-path=$builddir
+: ${srcdir=.}
+. $srcdir/init.sh --set-path=.
 
 fail=0;
 test-pread || fail=1