]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/build-relink.test: when hell is expected to fail, run it
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Mon, 8 Mar 1999 21:08:09 +0000 (21:08 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 8 Mar 1999 21:08:09 +0000 (21:08 +0000)
within a subshell and redirect stderr to stdout, so that dynamic
linker errors are only printed in verbose mode

ChangeLog
tests/build-relink.test

index 4a9834862bfb77eae09fcc87cdc033221d3815bc..693dfa830f5e79a05a68ebd395cd8dd5ef1a1a4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-03-08  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * tests/build-relink.test: when hell is expected to fail, run it
+       within a subshell and redirect stderr to stdout, so that dynamic
+       linker errors are only printed in verbose mode
+
        * ltmain.in (hardcode_libdir_separator, compile_rpath,
        finalize_rpath): only substitute hardcode_libdir_flag_spec if
        hardcode_libdirs is non-empty
index 84cfab7aa4fcef7b1bc85f9ec709748c280fb0a4..9fb506e04799da146a999cf72c9c8952247012d0 100755 (executable)
@@ -70,7 +70,7 @@ fi
 rm -f libhello.la
 
 echo "running ../demo/hell with broken libhello.la"
-if ./hell; then
+if (./hell) 2>&1; then
   echo "= Exiting: ../demo/hell runs even though libhello.la is incomplete"
   echo "shlibpath_overrides_runpath should be set to no"
   exit 1