summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxstat/test.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-22 17:28:41 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-22 17:33:13 +0100
commitacec386c75801bd80d9c835ab745fe5cab74bcc1 (patch)
treefcf419ee489eb3a60e080f9c560d9b4b2318283c /testsuites/psxtests/psxstat/test.c
parentscore: PR1607: Add and use CPU_SIZEOF_POINTER (diff)
downloadrtems-acec386c75801bd80d9c835ab745fe5cab74bcc1.tar.bz2
Filesystem: PR1619: Use ENOSYS for default statvfs
POSIX does not specify an error number in case the file system does not support this call. Use the Linux value.
Diffstat (limited to 'testsuites/psxtests/psxstat/test.c')
-rw-r--r--testsuites/psxtests/psxstat/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index 3c35a766eb..f072eab05b 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -795,10 +795,10 @@ void test_statvfs(void)
status = mkdir( "/tmp", 0777 );
rtems_test_assert( status == 0 );
- puts( "statvfs, with valid path - expect ENOTSUP" );
+ puts( "statvfs, with valid path - expect ENOSYS" );
status = statvfs( "/tmp", &stat );
rtems_test_assert( status == -1 );
- rtems_test_assert( errno == ENOTSUP );
+ rtems_test_assert( errno == ENOSYS );
puts( "statvfs tested!" );
}