|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0872 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 0872.
Report 0872 Actions
Problem Report Number 0872 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0387 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-09 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.4 Test Identification POSIX.cmd/rm 13 14 37 Problem Summary TSD4C.00124 This test may fail on all implementations because the expected prompts do not match the standard. Problem Text
This test may fail on all implementations because the expected
prompts do not match the standard.
The description of the rm utility describes the expected sequence
of prompts when a directory is removed using the -i option:
2. If file is of type directory, the following
steps are taken:
a. If neither the -R option nor the -r
option is specified, write a diagnostic
message to standard error, do nothing
more with file, and go on to any
remaining files.
b. If the -f option is not specified, and
either the permissions of file do not
permit writing and the standard input is
a terminal or the -i option is
specified, write a prompt to standard
error and read a line from the standard
input. If the response is not
affirmative, do nothing more with the
current file and go on to any remaining
files.
c. For each entry contained in file, other
than dot or dot-dot, the four steps
listed here (1-4) are taken with the
entry as if it were a file operand.
d. If the -i option is specified, write a
prompt to standard error and read a line
from the standard input. If the
response is not affirmative, do nothing
more with the current file, and go on to
any remaining files.
The tests do not allow for the prompt mandated by 2.b. This causes
them to fail.Test Output
400|1 13 1 14:38:04|IC Start
200|1 1 14:38:05|TP Start
520|1 1 2266 1 1|Assertion #13 (A): Remove files in a directory with -i mode.
520|256 1 19193 1 1|Expected exit code = 0; Received 1
520|256 1 19193 1 2|Standard error isn't empty
520|256 1 19193 1 3|Contents of out.stderr:
520|256 1 19193 1 4|expect_after: unexpected eof
520|256 1 19193 1 5|Command failed: '[ ! -f 13_1.d/13_1.tmp2 ]'
220|256 1 1 14:38:44|FAIL
410|256 13 1 14:38:44|IC End
400|256 14 1 14:38:44|IC Start
200|256 1 14:38:45|TP Start
520|256 1 19193 1 1|Assertion #14 (A): Remove a directory with -i mode
520|256 1 19193 1 1|Expected exit code = 0; Received 1
520|256 1 19193 1 2|Standard error isn't empty
520|256 1 19193 1 3|Contents of out.stderr:
520|256 1 19193 1 4|expect_after: unexpected timeout
520|256 1 19193 1 5|Command failed: '[ 1 -eq 0 ]'
220|256 1 1 14:39:07|FAIL
410|256 14 1 14:39:07|IC End
400|1 37 1 14:40:04|IC Start
200|1 1 14:40:05|TP Start
520|256 1 19193 1 1|Assertion #37 (A): Test GA26: options can be grouped together
520|256 1 19193 1 1|Command failed: 'expect -f 37_1.exp > 37_1.out 2> 37_1.err'
220|256 1 2 14:40:36|UNRESOLVED
410|256 37 1 14:40:36|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.
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 0872
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority