@@ -76,7 +76,7 @@ int file_scanf(const char *file, const int lineno,
76
76
f = fopen (path , "r" );
77
77
78
78
if (f == NULL ) {
79
- tst_resm_ (file , lineno , TWARN , "Failed to open FILE '%s'" ,
79
+ tst_resm_ (file , lineno , TINFO , "Failed to open FILE '%s'" ,
80
80
path );
81
81
return 1 ;
82
82
}
@@ -88,20 +88,20 @@ int file_scanf(const char *file, const int lineno,
88
88
va_end (va );
89
89
90
90
if (ret == EOF ) {
91
- tst_resm_ (file , lineno , TWARN ,
91
+ tst_resm_ (file , lineno , TINFO ,
92
92
"The FILE '%s' ended prematurely" , path );
93
93
goto err ;
94
94
}
95
95
96
96
if (ret != exp_convs ) {
97
- tst_resm_ (file , lineno , TWARN ,
97
+ tst_resm_ (file , lineno , TINFO ,
98
98
"Expected %i conversions got %i FILE '%s'" ,
99
99
exp_convs , ret , path );
100
100
goto err ;
101
101
}
102
102
103
103
if (fclose (f )) {
104
- tst_resm_ (file , lineno , TWARN , "Failed to close FILE '%s'" ,
104
+ tst_resm_ (file , lineno , TINFO , "Failed to close FILE '%s'" ,
105
105
path );
106
106
return 1 ;
107
107
}
@@ -110,7 +110,7 @@ int file_scanf(const char *file, const int lineno,
110
110
111
111
err :
112
112
if (fclose (f )) {
113
- tst_resm_ (file , lineno , TWARN , "Failed to close FILE '%s'" ,
113
+ tst_resm_ (file , lineno , TINFO , "Failed to close FILE '%s'" ,
114
114
path );
115
115
}
116
116
@@ -218,23 +218,23 @@ int file_printf(const char *file, const int lineno,
218
218
f = fopen (path , "w" );
219
219
220
220
if (f == NULL ) {
221
- tst_resm_ (file , lineno , TWARN , "Failed to open FILE '%s'" ,
221
+ tst_resm_ (file , lineno , TINFO , "Failed to open FILE '%s'" ,
222
222
path );
223
223
return 1 ;
224
224
}
225
225
226
226
va_start (va , fmt );
227
227
228
228
if (vfprintf (f , fmt , va ) < 0 ) {
229
- tst_resm_ (file , lineno , TWARN , "Failed to print to FILE '%s'" ,
229
+ tst_resm_ (file , lineno , TINFO , "Failed to print to FILE '%s'" ,
230
230
path );
231
231
goto err ;
232
232
}
233
233
234
234
va_end (va );
235
235
236
236
if (fclose (f )) {
237
- tst_resm_ (file , lineno , TWARN , "Failed to close FILE '%s'" ,
237
+ tst_resm_ (file , lineno , TINFO , "Failed to close FILE '%s'" ,
238
238
path );
239
239
return 1 ;
240
240
}
@@ -243,7 +243,7 @@ int file_printf(const char *file, const int lineno,
243
243
244
244
err :
245
245
if (fclose (f )) {
246
- tst_resm_ (file , lineno , TWARN , "Failed to close FILE '%s'" ,
246
+ tst_resm_ (file , lineno , TINFO , "Failed to close FILE '%s'" ,
247
247
path );
248
248
}
249
249
0 commit comments