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 04898b06bd60318783b2f8bdbe2e321c4bbf431d..09a03ddda40e0cfcc7cd13b17fb1d58e2f84fa02 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 7a4e7a70c855f5b7158dd145e4e4304c657caba1..9d3dec8bef00594ba77a680fa508cb6f8959079f 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 fba415ea12060257527c0b931c4f3a3389180fc1..98971a4c58cebab3ec9303450642cba8493e4030 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