From cdfe3372bfe95a8744a462e826fbb59a4587b00a Mon Sep 17 00:00:00 2001 From: Xiaoguang Wang Date: Mon, 21 Jul 2014 17:00:03 +0800 Subject: remove meaningless TRETR flag Flag TRETR was introduced to indicate test case was no longer valid and had been "retired". But if you grep "TRETR" in LTP, you will not find any test case using this flag. And if test case is no longer valid, we can just remove it form LTP, so remove this flag. Signed-off-by: Xiaoguang Wang Acked-by: Cyril Hrubis --- doc/man3/tst_res.3 | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/man3/tst_res.3 b/doc/man3/tst_res.3 index 0754daf23..ad6b28a24 100644 --- a/doc/man3/tst_res.3 +++ b/doc/man3/tst_res.3 @@ -104,7 +104,7 @@ The details are described below under the appropriate functions. .RS 5 .TP 10 .I ttype -test result type; one of \fBTPASS, TFAIL, TBROK, TCONF, TRETR, TWARN\fR, or +test result type; one of \fBTPASS, TFAIL, TBROK, TCONF, TWARN\fR, or \fBTINFO\fR (explained below). .TP 10 .I fname @@ -151,9 +151,6 @@ temporary file could not be opened). The test case was not appropriate for the current hardware or software configuration (e.g. MLS was not enabled). .TP 10 -.B TRETR -The test case was no longer valid and has been "retired." -.TP 10 .B TWARN The testing procedure caused undesirable side effects that did not affect test results (e.g. a temporary file could not be removed after all test @@ -184,10 +181,10 @@ this, a \fBtst_range\fR value > 1 is not valid for these types. \fBtst_brk()\fR and \fBtst_brkm()\fR are used to report results for all test cases remaining in the test, and then call a cleanup function. The only result types that are valid for these functions are: \fBTFAIL, TBROK, -TCONF\fR, and \fBTRETR\fR. When called with a \fIttype\fR of \fBTFAIL\fR or +and TCONF\fR. When called with a \fIttype\fR of \fBTFAIL\fR or \fBTBROK\fR, one result of the specified \fIttype\fR will be printed, followed by results of type \fBTBROK\fR for the remaining test cases. When -called with a \fIttype\fR of \fBTCONF\fR or \fBTRETR\fR, the specified +called with a \fIttype\fR of \fBTCONF\fR, the specified \fIttype\fR will be printed for all remaining test cases. If \fIfunc\fR is not NULL, \fBtst_brk()\fR and \fBtst_brkm()\fR will call \fIfunc\fR after all results have been printed. If the call to \fIfunc\fR returns, @@ -223,9 +220,6 @@ TBROK TWARN 0004 /* .... .1.. */ .TP 10 -TRETR -0010 /* .... 1... */ -.TP 10 TINFO 0020 /* ...1 .... */ .TP 10 @@ -233,7 +227,7 @@ TCONF 0040 /* ..1. .... */ .RE .P -NOTE: \fBTPASS, TRETR, TINFO\fR, and \fBTCONF\fR do not have an effect +NOTE: \fBTPASS and TINFO\fR do not have an effect on the test program exit status. .P \fBtst_environ()\fR is used to ensure that results reported by this library @@ -320,7 +314,7 @@ If an invalid test type is specified. If \fBtst_count\fR is negative. .P If one of the \fBtst_brk[m]()\fR routines is called with a test type -other than \fBTFAIL, TBROK, TCONF\fR, or \fBTRETR\fR. +other than \fBTFAIL, TBROK, TCONF\fR. .P If there are any problems opening/reading/writing the contents of \fIfname\fR. .RE -- cgit v1.2.3