Problem Report Number | 0004 (TSD.0003) |
---|---|
Submitter's Classification | Test Suite Problem (TSD) |
State | Resolved |
Resolution | Test Suite Deficiency (TSD) |
Raised | 2002-07-26 01:10 |
Updated | 2002-08-05 14:50 |
Published | 2002-08-05 14:50 |
Certification Program | Linux Standard Base Conformance Release 1.2 |
Test Suite | lsb-runtime IA32 version 1.2.1-1 |
Test Identification | LSB.os/genuts/openlog_L/T.openlog_L |
Specification | Linux Standard Base Specification 1.2 |
Problem Summary | openlog and syslog tests use buffered stdio for reading logs |
Problem Text | openlog and syslog tests use buffered stdio for reading logs. When reading from files that other processes are writing to (syslogd, for example), you need to disable buffering to ensure that when you go to read, you'll get the data from the disk (and not pre-buffered). Also, the "gotmsg" array is not zero'ed, and the EOF condition isn't reported. This causes diagnosing this problem to be hard. LSB.os/genuts/openlog_L/T.openlog_L LSB.os/genuts/syslog_L/T.syslog_L |
Test Output | 10|532 /tset/LSB.os/genuts/openlog_L/T.openlog_L 15:54:24|TC Start, scenario ref 537-0 15|532 3.3-lite 1|TCM Start 400|532 1 3 15:55:24|IC Start 200|532 1 15:55:24|TP Start 220|532 1 0 15:55:26|PASS 200|532 2 15:55:26|TP Start 220|532 2 0 15:55:28|PASS 200|532 3 15:55:28|TP Start 520|532 3 00012036 1 1|syslog() failed to format argument correctly 520|532 3 00012036 1 2| Received: "Jul 22 15:55:27 test163 test-syslog-2[12036]: This iTœBly a tes,BB‹B" 520|532 3 00012036 1 3| Expected: "This is only a test" 220|532 3 1 15:55:30|FAIL 410|532 1 3 15:55:30|IC End 80|532 0 15:56:31|TC End, scenario ref 537-0 10|535 /tset/LSB.os/genuts/syslog_L/T.syslog_L 15:57:09|TC Start, scenario ref 540-0 15|535 3.3-lite 1|TCM Start 400|535 1 119 15:58:09|IC Start 200|535 1 15:58:09|TP Start 220|535 1 0 15:58:11|PASS 200|535 2 15:58:11|TP Start 220|535 2 0 15:58:13|PASS 200|535 3 15:58:13|TP Start 220|535 3 0 15:58:15|PASS 200|535 4 15:58:15|TP Start 220|535 4 0 15:58:17|PASS 200|535 5 15:58:17|TP Start 220|535 5 0 15:58:19|PASS 200|535 6 15:58:19|TP Start 520|535 6 00012109 1 1|syslog() failed to format argument correctly 520|535 6 00012109 1 2| Received: "¸öÿ¿RBàöÿ¿'" 520|535 6 00012109 1 3| Expected: "Too many open files" 220|535 6 1 15:58:21|FAIL |
Review Type | TSMA Review |
---|---|
Start Date | 2002-07-26 01:10 |
Last Updated | 2002-07-30 15:24 |
Completed | 2002-07-30 15:24 |
Status | Complete |
Review Recommendation | Test Suite Deficiency (TSD) |
Review Response | A TSD is recommended. |
Review Type | SA Review |
---|---|
Start Date | 2002-07-30 14:24 |
Last Updated | 2002-07-31 16:42 |
Completed | 2002-07-31 16:42 |
Status | Complete |
Review Resolution | Test Suite Deficiency (TSD) |
Review Conclusion | SA concurrs with TSD. |
Copyright 2005, The Free Standards Group, All Rights Reserved