PR0062.html

LSB Problem Report

Problem Report Number 0062 (TSD.0043)
Submitter's Classification Test Suite Problem (TSD)
State Resolved
Resolution Test Suite Deficiency (TSD)
Raised 2004-09-16 14:22
Updated 2004-09-29 17:12
Published 2004-09-29 17:12
Certification Program Linux Standard Base Conformance Release 2.0
Test Suite lsb-runtime Generic version 2.0.6-2
Test Identification /tset/LI18NUX2K.L1/utils/ls-fh/ls-fh 3
Problem Summary ls-fh 3: wrong printf arguments
Problem Text The ls-fh 3 test case uses printf "\0177". bash 2.05 printf
builtin handles this wrong and prints (printf "|\0177|\n" | cat -A)
"?". But /usr/bin/printf and bash3 printf prints correct "^07",
which is not was the test case expects. Means the test case depends
on the wrong printf behavior of bash 2.05. The behavior is wrong,
since Octal numbers have only 3 digits, not four.
Test Output 200|704 3 21:55:37|TP Start
520|704 3 29585 1 1|* When -q option is specified, verify this utility
force each instance of non-printable filename characters to be written
as the question-mark '?' charcter.
520|704 3 29585 1 2|
520|704 3 29585 1 3|Can't print non-printable character as `?'.
220|704 3 1 21:55:37|FAIL

Review Information

Review Type TSMA Review
Start Date 2004-09-16 14:22
Last Updated 2004-09-27 06:38
Completed 2004-09-27 06:38
Status Complete
Review Recommendation Test Suite Deficiency (TSD)
Review Response A test suite deficiency is recommended.
(as stated by the submitter an octal number has three
digits and the test therefore relies on erroneous behavior).

Review Type SA Review
Start Date 2004-09-27 05:38
Last Updated 2004-09-29 17:07
Completed 2004-09-29 17:07
Status Complete
Review Resolution Test Suite Deficiency (TSD)
Review Conclusion SA concurs with TSD.

 

Copyright 2005, The Free Standards Group, All Rights Reserved