View Issue Details

IDProjectCategoryView StatusLast Update
0000144tcshgeneralpublic2011-09-20 23:33
ReporterAnders Kaseorg 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version6.17.00 
Target VersionFixed in Version 
Summary0000144: Test suite failures with stdin redirected from /dev/null
DescriptionAfter building tcsh 6.17.06 (on Ubuntu 11.10 alpha amd64), the test suite fails if stdin is redirected from /dev/null:

$ make check

170 tests were successful.
52 tests were skipped.

$ make check < /dev/null

 87: source FAILED (commands.at:1206)
112: Comments FAILED (lexical.at:36)
155: $ edit FAILED (variables.at:322)

ERROR: 170 tests were run,
3 failed unexpectedly.
52 tests were skipped.

This causes the Debian tcsh package to fail to build: http://bugs.debian.org/635102

There’s some kind of legitimate problem here; e.g. these commands have no reason to behave differently, but they do:

$ tcsh -f -c 'echo #no comment'
#no comment
$ tcsh -f -c 'echo #no comment' < /dev/null

$
Additional InformationI’ve attached testsuite.log from ‘make check < /dev/null’.
TagsNo tags attached.

Relationships

Activities

2011-09-20 21:46

 

testsuite.log (65,976 bytes)
Kimmo Suominen

Kimmo Suominen

2011-09-20 23:33

administrator   ~0000227

I tested the commands shown as examples on the following:

- 6.13.00 2004-05-19 (on NetBSD 2.99)
- 6.14.00 2005-03-25 (on Ubuntu 9.10 and NetBSD 5.99)
- 6.16.00 2008-09-30 (on SuSE 9.3 and NetBSD 5.99)
- 6.17.00 2009-07-10 (on Ubuntu 10.04 and Mac OS X 10.7)

They all behave as shown in the bug description (i.e. no output when stdin is redirect from /dev/null), so this is not a new failure.

Issue History

Date Modified Username Field Change
2011-09-20 21:46 Anders Kaseorg New Issue
2011-09-20 21:46 Anders Kaseorg File Added: testsuite.log
2011-09-20 23:33 Kimmo Suominen Note Added: 0000227