projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reworked scanf() testing. General cleanups.
[fw/pdclib]
/
functions
/
stdio
/
perror.c
diff --git
a/functions/stdio/perror.c
b/functions/stdio/perror.c
index fc6ff87a4dc4c5ec15cd260e4270874a1057698a..bf3b3afee1c1bf0028218f657263853c0ffcc7a6 100644
(file)
--- a/
functions/stdio/perror.c
+++ b/
functions/stdio/perror.c
@@
-44,7
+44,7
@@
int main( void )
TESTCASE( fread( buffer, 1, 7, fh ) == 7 );
TESTCASE( memcmp( buffer, "Test: ", 6 ) == 0 );
TESTCASE( fclose( fh ) == 0 );
TESTCASE( fread( buffer, 1, 7, fh ) == 7 );
TESTCASE( memcmp( buffer, "Test: ", 6 ) == 0 );
TESTCASE( fclose( fh ) == 0 );
-
remove( testfile
);
+
TESTCASE( remove( testfile ) == 0
);
return TEST_RESULTS;
}
return TEST_RESULTS;
}