|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2721 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 2721.
Report 2721 Actions
Problem Report Number 2721 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1420 Raised 2020-07-22 08:49 Updated 2020-07-22 11:12 Published 2020-07-22 11:12 Product Standard Commands and Utilities V4 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSC version 5.3.18 Test Identification /tset/POSIX.sdo/make/make.ex{133,139,145,146,147} Specification Shell and Utilities Issue 6 Location in Spec https://pubs.opengroup.org/onlinepubs/009695399/functions/printf.html Problem Summary Assertions 133, 139, 145, 146 and 147 of the make utility test in VSC create an invalid C program as
part of the test, causing the test to fail.Problem Text In tp133() of the make.ex script, a short C program named tf.c is created using these commands:
cat << \EOF > tf.c
int main()
{
printf("done\n");
return(0);
}
EOF
The test then tries to compile this program via a makefile that is also created during the test. But
this C program is not valid C according to the ISO/IEC 9899:1999 standard: it uses the printf()
function without either a declaration of the function or an inclusion of the standard header file
<stdio.h> in which printf is declared. Adding the line
#Include <stdio.h>
to the file as the first line of the source file fixes the problem. The identical C program, with the
identical issue and result, is also created as part of the tests tp139(), tp145(), tp146() and tp147().Test Output 200|1 133 15:19:01|TP Start
520|1 133 22061 1 1|Assertion #133 (C): GA10 for the non-existing target tf when tf.c exists and
there is no single-suffix inference rule for the target .c
520|1 133 22061 6 1|command failed
220|1 133 1 15:19:01|FAIL
200|1 139 15:19:01|TP Start
520|1 139 22061 1 1|Assertion #139 (C): GA10 or GA11 for the non-existing or outdated target tf.o
when tf.c exists and there is no double-suffix inference rule for the target .c.o
520|1 139 22061 6 1|make command failed
220|1 139 1 15:19:01|FAIL
200|1 145 15:19:12|TP Start
520|1 145 22061 1 1|Assertion #145 (C): Test the effect of makefile containing a target as an
archive library lib.a(tf.o), where lib.a and tf.c exist but tf.o doesn't, and there is no double-suffix
inference rule for the target .c.a
520|1 145 22061 6 1|command failed
220|1 145 1 15:19:12|FAIL
200|1 146 15:19:12|TP Start
520|1 146 22061 1 1|Assertion #146 (C): Test the effect of makefile containing a target as an
archive library lib.a(tf.o), where lib.a and tf.c exist but member tf.o is outdated, and there is no
double-suffix inference rule for the target .c.a
520|1 146 22061 6 1|command failed
220|1 146 1 15:19:12|FAIL
200|1 147 15:19:12|TP Start
520|1 147 22061 1 1|Assertion #147 (C): Test the effect of makefile containing a target as an
archive library lib.a(tf.o), where lib.a and tf.o don't exist, tf.c exists, and there is no double-suffix
inference rule for the target .c.a
520|1 147 22061 6 1|make did not terminate successfully
220|1 147 1 15:19:13|FAILReview Information
Review Type TSMA Review Start Date 2020-07-22 08:49 Last Updated 2020-07-22 10:49 Completed 2020-07-22 10:49 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Review Type SA Review Start Date 2020-07-22 18:49 Last Updated 2020-07-22 11:12 Completed 2020-07-22 11:12 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted
Problem Reporting System Options:
- View Report 2721
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority