Changeset f9f7321e in rtems for testsuites/fstests


Ignore:
Timestamp:
Dec 22, 2015, 6:56:57 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c653559
Parents:
173c44eb
git-author:
Sebastian Huber <sebastian.huber@…> (12/22/15 06:56:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/05/16 13:29:09)
Message:

Filesystem: Remove superfluous permission checks

The permission is check by the upper layer.

File:
1 edited

Legend:

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

    r173c44eb rf9f7321e  
    442442  rtems_test_assert(group_id==statbuf.st_gid);
    443443
     444  status = seteuid(user_id - 1);
     445  rtems_test_assert(status == 0);
     446
     447  errno = 0;
     448  status = chown(file01, user_id, group_id);
     449  rtems_test_assert(status == -1);
     450  rtems_test_assert(errno == EPERM);
     451
     452  status = seteuid(user_id);
     453  rtems_test_assert(status == 0);
     454
     455  status = chown(file01, user_id, group_id);
     456  rtems_test_assert(status == 0);
     457
     458  status = seteuid(0);
     459  rtems_test_assert(status == 0);
     460
     461  status = chown(file01, user_id, group_id);
     462  rtems_test_assert(status == 0);
     463
    444464  status=mkdir(directory01,mode);
    445465  rtems_test_assert(status==0);
Note: See TracChangeset for help on using the changeset viewer.