Re: failure with HEAD: stdin seekable

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.m4.bugs,gmane.comp.gnu.m4.patches
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
* Eric Blake wrote on Sun, Dec 17, 2006 at 05:21:02AM CET:
> 
> 	* src/main.c (main): Check for errors when closing stdin.
> 	* modules/m4.c (m4exit): Missed part of previous patch: flush
> 	stdin before a successful exit.

Thanks, the stdin seekable test is skipped now, but also the stdout full
one fails.

Cheers,
Ralf

#                             -*- compilation -*-
63. others.at:458: testing ...
+ cat
+ set +x
../../m4/tests/others.at:466: m4 -b -d  < in.m4
+ m4 -b -d
+ cat
+ set +x
../../m4/tests/others.at:473: (m4; cat) < in.m4
+ m4
+ cat
+ set +x
../../m4/tests/others.at:478: (sed -ne 1q; cat) < in.m4
+ sed -ne 1q
+ cat
stdout:
+ set +x
../../m4/tests/others.at:479: test "x`cat stdout`" = "x0)trailing data" || \
  { echo "skipping: sed is too greedy on seekable stdin"; exit 77; }
Not enabling shell tracing (command contains a `...` command substitution)
--- /dev/null	2006-12-12 01:34:08.640403500 +0100
+++ /tmp/build/tests/testsuite.dir/at-stdout	2006-12-17 13:10:01.000000000 +0100
@@ -0,0 +1 @@
+skipping: sed is too greedy on seekable stdin
63. others.at:458: 63. stdin seekable (others.at:458): skipped (others.at:479)


#                             -*- compilation -*-
65. others.at:603: testing ...
../../m4/tests/others.at:604: test -w /dev/full && test -c /dev/full || {
  echo "Skipping: no /dev/full support";
  exit 77
}
../../m4/tests/others.at:610: m4 -b -d --help >/dev/full < /dev/null
stderr:
/tmp/build/src/.libs/lt-m4: write error: No space left on device
../../m4/tests/others.at:610: sed 's/^[^:]*[lt-]*m4[.ex]*:/m4:/
	/^m4debug: module/s/opening file.*/opening file/
	s/\(cannot open module [^:]*\):.*/\1/
    ' stderr >&2
../../m4/tests/others.at:615: m4 -b -d --version >/dev/full < /dev/null
stderr:
/tmp/build/src/.libs/lt-m4: write error: No space left on device
../../m4/tests/others.at:615: sed 's/^[^:]*[lt-]*m4[.ex]*:/m4:/
	/^m4debug: module/s/opening file.*/opening file/
	s/\(cannot open module [^:]*\):.*/\1/
    ' stderr >&2
../../m4/tests/others.at:622: m4 -b -d in.m4 >/dev/full < /dev/null
stderr:
/tmp/build/src/.libs/lt-m4: write error: No space left on device
../../m4/tests/others.at:622: sed 's/^[^:]*[lt-]*m4[.ex]*:/m4:/
	/^m4debug: module/s/opening file.*/opening file/
	s/\(cannot open module [^:]*\):.*/\1/
    ' stderr >&2
../../m4/tests/others.at:629: m4 -b -d in.m4 2>/dev/full < /dev/null
../../m4/tests/others.at:634: m4 -b -d -tdnl in.m4 2>/dev/full < /dev/null
../../m4/tests/others.at:639: m4 -b -d --debugfile=/dev/full -tdnl in.m4 < /dev/null
stderr:
/tmp/build/src/.libs/lt-m4: error writing to debug stream: No space left on device
../../m4/tests/others.at:639: sed 's/^[^:]*[lt-]*m4[.ex]*:/m4:/
	/^m4debug: module/s/opening file.*/opening file/
	s/\(cannot open module [^:]*\):.*/\1/
    ' stderr >&2
../../m4/tests/others.at:649: m4 -b -d in.m4 >/dev/full < /dev/null
stderr:
/tmp/build/src/.libs/lt-m4: write error
../../m4/tests/others.at:649: sed 's/^[^:]*[lt-]*m4[.ex]*:/m4:/
	/^m4debug: module/s/opening file.*/opening file/
	s/\(cannot open module [^:]*\):.*/\1/
    ' stderr >&2
--- -	2006-12-17 13:06:54.638967000 +0100
+++ /tmp/build/tests/testsuite.dir/at-stderr	2006-12-17 13:06:54.000000000 +0100
@@ -1,2 +1,2 @@
-m4: write error: No space left on device
+m4: write error
 
65. others.at:603: 65. stdout full (others.at:603): FAILED (others.at:649)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.