summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxreaddir/test.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 19:17:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-25 19:17:52 +0000
commite8b4506836b548e5ad6435b13637b620d96cc5c7 (patch)
tree6cd1916fa23a54cfb19fb4722219026385e4c0bc /testsuites/psxtests/psxreaddir/test.c
parent2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-e8b4506836b548e5ad6435b13637b620d96cc5c7.tar.bz2
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* psxreaddir/psxreaddir.scn, psxreaddir/test.c: Do not test for rewinddir(NULL) since we are now using newlib's implementation and it does not check for NULL. This causes a fault on some targets.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxreaddir/test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c
index f139003ba6..b224c2f9d5 100644
--- a/testsuites/psxtests/psxreaddir/test.c
+++ b/testsuites/psxtests/psxreaddir/test.c
@@ -409,9 +409,11 @@ int main(
rewinddir( directory );
printdir(directory);
-/* Don't know how to check this one automatically. */
+#if 0
+ /* Newlib's implementation does not check for NULL */
printf( "Send rewinddir a NULL pointer\n");
rewinddir( NULL );
+#endif
printf( "\nSeek directory\n" );
printf( "telldir() should report only sizeof(struct dirent) increments \n" );