From 042a44210aa1003fe6673d962a3065a16dc3efc7 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 2 Jun 2010 00:50:37 +0000 Subject: 2010-06-02 Chris Johns * psxfile01/test.c, psxmount/test.c, psxreaddir/test.c, psxstat/test.c: Update to the new mount API. --- testsuites/psxtests/psxreaddir/test.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'testsuites/psxtests/psxreaddir/test.c') diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c index b224c2f9d5..142dfc3c26 100644 --- a/testsuites/psxtests/psxreaddir/test.c +++ b/testsuites/psxtests/psxreaddir/test.c @@ -183,8 +183,7 @@ int compare_descending( const struct dirent **a, const struct dirent **b ) void test_across_mount(void) { - rtems_filesystem_mount_table_entry_t *mt_entry; - int status; + int status; /* * Verify Readdir works correctly over mount points. @@ -196,15 +195,12 @@ void test_across_mount(void) complete_printdir("/imfs" ); printf("Attempting to mount IMFS file system at /imfs \n"); status = mount( - &mt_entry, - &IMFS_ops, + "null", + "/imfs", + "imfs", RTEMS_FILESYSTEM_READ_WRITE, - NULL, - "/imfs" ); + NULL ); rtems_test_assert( status == 0 ); - if( mt_entry == NULL ){ - printf(" NULL mount table entry was returned\n"); - } printf( "create /imfs/testdir and /imfs/testdir/testsubdir\n"); status = mkdir( "/imfs/testdir", 0777 ); -- cgit v1.2.3