|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0865 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 0865.
Report 0865 Actions
Problem Report Number 0865 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0380 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-22 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.upe/fg 23 Problem Summary TSD4C.00131 This test may fail on an implementation because it may timeout before the expect script completes. Problem Text
This test may fail on an implementation because it may timeout
before the expect script completes.
This test times out because the expect script does not wait long
enough for the shell script it runs to complete. loop1.sh is
started with a parameter of 15. The expect script only waits for
30 seconds after the fg command for the shell script to complete.
The way the shell script is written, it might run slower on some
systems. loop1.sh contains the following loop:
while [ $period -gt 0 ]; do
sleep 1;
period=`expr $period \\- 1`
done;
The statement that decrements the variable $period creates a subshell
which could take an non-trivial amount of time on some systems. We
suggest one of the following solutions:
- the expect script wait time could be increased from two times
the parameter to loop1.sh to four times
- the shell script could have the statement modified to something
that will not create a subshell:
period=$(($period - 1))Test Output
Assertion #23 (C): fg outputs info about job run in foreground in specified format
Expected exit code = 0; Received 1
Standard error isn't empty
Contents of out.stderr:
expect_after: unexpected timeoutReview 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.
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 0865
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority