Changeset b4e52ce9 in rtems


Ignore:
Timestamp:
Feb 6, 2015, 8:12:38 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
eb77534
Parents:
cf4dfc1
git-author:
Sebastian Huber <sebastian.huber@…> (02/06/15 20:12:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/09/15 14:38:04)
Message:

fstests/fsrename: Avoid double initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/fstests/fsrename/test.c

    rcf4dfc1 rb4e52ce9  
    11861186  puts ("\nRename files across diferent filesystems\n");
    11871187
    1188   test_initialize_filesystem ();
     1188  rv = chroot ("/");
     1189  rtems_test_assert (rv == 0);
    11891190
    11901191  fd = creat (name01, mode);
     
    11961197  rtems_test_assert (rv < sizeof(path01));
    11971198  EXPECT_ERROR (EXDEV, rename, name01, path01);
    1198 
    1199   /*
    1200    * Clear directory
    1201    */
    1202 
    1203   test_shutdown_filesystem ();
    12041199
    12051200  EXPECT_EQUAL (-1, unlink, path01);
    12061201  EXPECT_EQUAL (0, unlink, name01);
     1202
     1203  rv = chroot (BASE_FOR_TEST);
     1204  rtems_test_assert (rv == 0);
    12071205
    12081206  /*
Note: See TracChangeset for help on using the changeset viewer.