|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0570 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 0570.
Report 0570 Actions
Problem Report Number 0570 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0174 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.6 Test Identification POSIX.cmd/test 78 Problem Summary PG4C.00103 This IR claims that the test may fail when run with a non-interactive shell. Problem Text
In the debug-output we find :
+ mkdir sub_78
+ [ 0 -ne 0 ]
+ chmod 755 sub_78
+ [ 0 -ne 0 ]
+ cat
+ 1> sub_78/hello.exe 0<<
printf "hello\n"
+ chmod 755 sub_78/hello.exe
+ [ 0 -ne 0 ]
+ hello.exe
/vsc/VSC4.1.6/tet_tmp_dir/22889a/test/test.sh[31]: hello.exe: not found
In this test our shell exits after the 1st 'Command not found'
situation. This gives the output NORESULT.
This behaviour is allowed by the Standard (See Chapter 2.8.1
Consequences of Shell Errors). There is stated in case of 'Command not
found' the shell 'may exit'.Test Output
15|1 1.10 1|TCM Start
400|1 78 1 14:04:20|IC Start
200|1 1 14:04:23|TP Start
520|1 1 22715 1 1|Assertion #78 (A): string provided to the utility via an envi
520|1 1 22715 1 2| <LC> ronment variable is subjected to the path search as de
520|1 1 22715 1 3| <LC> scribed for PATH
220|1 1 7 14:04:47|NORESULTReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
The reason for the error is not valid. VSC requires that the
tests be run in the foreground with an interactive shell. Tests
cannot be run in the background or using I/O redirection.
Section 2.8.1 of the Commands and Utilities standard only applies
to non-interactive shells. An interactive shell will not exit in
the situation described above.
This issue is the same as for PG4C.00067.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 0570
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority