diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 19:17:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 19:17:52 +0000 |
commit | e8b4506836b548e5ad6435b13637b620d96cc5c7 (patch) | |
tree | 6cd1916fa23a54cfb19fb4722219026385e4c0bc /testsuites/psxtests/psxreaddir/test.c | |
parent | 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-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.c | 4 |
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" ); |