|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0807 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0807.
Report 0807 Actions
Problem Report Number 0807 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0322 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-09-12 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.5 Test Identification POSIX.cmd/kill 19 Problem Summary TSD4C.00189 This test may fail on multi-processor implementations. Problem Text
It appears that kill number 19 may fail because all background processes
are writing to the same output file with apparantly no serialization.
When NewProcGroup sh ./kill_scr_19_2 is run outside of the suite
without redirecting stdout, in all cases all of the TERM_* strings
were written to stdout.
When stdout is redirected to a file, not all of the TERM_* strings
were in the output file, yet all processes were killed.
It appears that the background processes that are created
may overwrite strings previously written to the output file.
The proposed change is in the following line:
NewProcGroup sh ./kill_scr_19_2 > kill_out_19_1 2> /dev/null
to
NewProcGroup sh ./kill_scr_19_2 >> kill_out_19_1 2> /dev/null
This will guarantee that the output file is opened with the
O_APPEND flag.Test Output
400|175 19 1 15:19:04|IC Start
200|175 1 15:19:05|TP Start
520|175 1 776732681 1 1|Assertion #19 (A): kill 0
520|175 1 776732681 1 11|Expected TERM_0, TERM_1, TERM_2 and TERM_3 in this fil
520|175 1 776732681 1 12| <LC> e:
520|175 1 776732681 1 13|Contents of kill_out_19_1:
520|175 1 776732681 1 14|TERM_1
520|175 1 776732681 1 15|TERM_2
520|175 1 776732681 1 16|TERM_3
220|175 1 1 15:19:57|FAIL
410|175 19 1 15:19:58|IC End
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
This TSD does not apply to Uni-processor implementations.
This TSD only applies to multi-processor implementations and
may be granted for implementations that generate garbled output
too.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0807
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority