]> sourceware.org Git - automake.git/commitdiff
* tests/dirname.test: Explicitly use $SHELL to run the
authorTim Van Holder <tim.van.holder@pandora.be>
Sun, 22 Jul 2001 00:25:35 +0000 (00:25 +0000)
committerTim Van Holder <tim.van.holder@pandora.be>
Sun, 22 Jul 2001 00:25:35 +0000 (00:25 +0000)
script; this avoids failures on DJGPP.
* tests/install2.test: Skip if 'chmod 000' doesn't make
a file unreadable.

ChangeLog
tests/dirname.test
tests/install2.test

index 6a7618d3c6fa6ff37975ce64cd1cccbaef1cdff6..e51cb9d0ec5d8343feb4795a0c23e247020f0824 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-07-21  Tim Van Holder  <tim.van.holder@pandora.be>
+
+       * tests/dirname.test: Explicitly use $SHELL to run the
+       script; this avoids failures on DJGPP.
+       * tests/install2.test: Skip if 'chmod 000' doesn't make
+       a file unreadable.
+
 2001-07-21  Tom Tromey  <tromey@redhat.com>
 
        * tests/libtool2.test: Check for libtoolize.
index 8b2ebfc46a517d83fee9a553535fe8cc8b25109e..6426e601efe33d8b5918d9f2ebbafce34e2cc906 100755 (executable)
@@ -25,7 +25,7 @@ $AUTOCONF || exit 1
 # support our regexps anyhow
 test -s configure || exit 77
 
-./configure >got || exit 1
+$SHELL ./configure >got || exit 1
 
 cat >wanted <<EOF
 1 /a/path/to/a/file      = /a/path/to/a
index d43cedcd1fce7b30162c99de2feacad2d0a1fb24..31ec840c16a7127901803e3293bf3463a2079576 100755 (executable)
@@ -29,6 +29,9 @@ $AUTOMAKE -a || exit 1
 
 chmod 000 Makefile.am
 
+# On some systems (like DOS and Windows), files are always readable
+test -r Makefile.am && { echo "SKIP: $0"; exit 77; }
+
 ./configure || exit 1
 # `dist' should fail because we can't copy Makefile.am.
 $MAKE dist  && exit 1
This page took 0.035532 seconds and 5 git commands to generate.