Changeset 990235d in rtems for testsuites


Ignore:
Timestamp:
01/22/18 13:13:11 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
0349a2b
Parents:
e79bb0c3
git-author:
Sebastian Huber <sebastian.huber@…> (01/22/18 13:13:11)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/22/18 14:24:13)
Message:

psxchroot01: Force release of global locations

Free deferred locations before the greedy memory allocation. This test
fails on powerpc/qoriq_e6500_64 otherwise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxchroot01/test.c

    re79bb0c3 r990235d  
    7474  int status;
    7575  void *opaque;
     76  struct stat st;
     77
    7678/*
    7779 *  This test is the C equivalent of this sequence.
     
    114116  rtems_test_assert( errno == ENOTDIR );
    115117
     118  /* Perform deferred global location releases */
     119  status = stat( ".", &st );
     120  rtems_test_assert( status == 0 );
     121
    116122  puts( "allocate most of memory - attempt to fail chroot - expect ENOMEM" );
    117123  opaque = rtems_heap_greedy_allocate( global_location_size, 1 );
Note: See TracChangeset for help on using the changeset viewer.