Changeset 79ea5af in mainline for uspace/app/tester/vfs/vfs1.c


Ignore:
Timestamp:
2017-03-30T20:47:53Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67e881c
Parents:
ae7bfbbd
Message:

Rename unlink() to vfs_unlink_path() and _vfs_unlink() to vfs_unlink()

  • Also, remove rmdir()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/vfs/vfs1.c

    rae7bfbbd r79ea5af  
    117117        TPRINTF("Renamed %s to %s\n", TEST_FILE, TEST_FILE2);
    118118       
    119         if (unlink(TEST_FILE2) != 0)
    120                 return "unlink() failed";
     119        if (vfs_unlink_path(TEST_FILE2) != EOK)
     120                return "vfs_unlink_path() failed";
    121121        TPRINTF("Unlinked %s\n", TEST_FILE2);
    122122       
    123         if (rmdir(TEST_DIRECTORY) != 0)
    124                 return "rmdir() failed";
     123        if (vfs_unlink_path(TEST_DIRECTORY) != EOK)
     124                return "vfs_unlink_path() failed";
    125125        TPRINTF("Removed directory %s\n", TEST_DIRECTORY);
    126126       
Note: See TracChangeset for help on using the changeset viewer.