Changeset dbf969e in rtems


Ignore:
Timestamp:
Jul 1, 1999, 10:08:13 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
10794a7
Parents:
e7792b25
Message:

Test modified to reflect change in calling sequence of mount().

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psxmount/test.c

    re7792b25 rdbf969e  
    157157     &mt_entry,
    158158     &IMFS_ops,
    159      "RW",
     159     RTEMS_FILESYSTEM_READ_WRITE,
    160160     NULL,
    161161     mount_point_string );
     
    218218   &mt_entry,
    219219   NULL,
    220    "RW",
     220   RTEMS_FILESYSTEM_READ_WRITE,
    221221   NULL,
    222222   mount_point_string );
     
    225225
    226226  /*
    227    * Verify mount with option RA fails with EINVAL
    228    */
    229 
    230   printf("mount with option RA should fail with EINVAL\n");
    231   status = mount(
    232      &mt_entry,
    233      &IMFS_ops,
    234      "RA",
     227   * Verify mount with option of -62 fails with EINVAL
     228   */
     229
     230  printf("mount with option of -62 should fail with EINVAL\n");
     231  status = mount(
     232     &mt_entry,
     233     &IMFS_ops,
     234     -62,
    235235     NULL,
    236236     "/c/y/my_mount_point" );
     
    246246     &mt_entry,
    247247     &IMFS_ops,
    248      "RO",
     248     RTEMS_FILESYSTEM_READ_ONLY,
    249249     NULL,
    250250     "/c/y/my_mount_point" );
     
    277277     &mt_entry,
    278278     &IMFS_ops,
    279      "RO",
     279     RTEMS_FILESYSTEM_READ_ONLY,
    280280     NULL,
    281281     "/c/y/my_mount_point" );
     
    291291     &mt_entry,
    292292     &IMFS_ops,
    293      "RO",
     293     RTEMS_FILESYSTEM_READ_ONLY,
    294294     NULL,
    295295     "/b/my_file" );
     
    343343     &mt_entry,
    344344     &IMFS_ops,
    345      "RO",
     345     RTEMS_FILESYSTEM_READ_ONLY,
    346346     NULL,
    347347     "/c/y/my_mount_point" );
     
    392392     &mt_entry,
    393393     &IMFS_ops,
    394      "RW",
     394     RTEMS_FILESYSTEM_READ_WRITE,
    395395     NULL,
    396396     "/c/y/my_mount_point/my_dir");
  • testsuites/psxtests/psxmount/test.c

    re7792b25 rdbf969e  
    157157     &mt_entry,
    158158     &IMFS_ops,
    159      "RW",
     159     RTEMS_FILESYSTEM_READ_WRITE,
    160160     NULL,
    161161     mount_point_string );
     
    218218   &mt_entry,
    219219   NULL,
    220    "RW",
     220   RTEMS_FILESYSTEM_READ_WRITE,
    221221   NULL,
    222222   mount_point_string );
     
    225225
    226226  /*
    227    * Verify mount with option RA fails with EINVAL
    228    */
    229 
    230   printf("mount with option RA should fail with EINVAL\n");
    231   status = mount(
    232      &mt_entry,
    233      &IMFS_ops,
    234      "RA",
     227   * Verify mount with option of -62 fails with EINVAL
     228   */
     229
     230  printf("mount with option of -62 should fail with EINVAL\n");
     231  status = mount(
     232     &mt_entry,
     233     &IMFS_ops,
     234     -62,
    235235     NULL,
    236236     "/c/y/my_mount_point" );
     
    246246     &mt_entry,
    247247     &IMFS_ops,
    248      "RO",
     248     RTEMS_FILESYSTEM_READ_ONLY,
    249249     NULL,
    250250     "/c/y/my_mount_point" );
     
    277277     &mt_entry,
    278278     &IMFS_ops,
    279      "RO",
     279     RTEMS_FILESYSTEM_READ_ONLY,
    280280     NULL,
    281281     "/c/y/my_mount_point" );
     
    291291     &mt_entry,
    292292     &IMFS_ops,
    293      "RO",
     293     RTEMS_FILESYSTEM_READ_ONLY,
    294294     NULL,
    295295     "/b/my_file" );
     
    343343     &mt_entry,
    344344     &IMFS_ops,
    345      "RO",
     345     RTEMS_FILESYSTEM_READ_ONLY,
    346346     NULL,
    347347     "/c/y/my_mount_point" );
     
    392392     &mt_entry,
    393393     &IMFS_ops,
    394      "RW",
     394     RTEMS_FILESYSTEM_READ_WRITE,
    395395     NULL,
    396396     "/c/y/my_mount_point/my_dir");
Note: See TracChangeset for help on using the changeset viewer.