Changeset 9b20126 in mainline for uspace/lib/pcut/tests/abort.c


Ignore:
Timestamp:
2014-09-19T08:23:01Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c85a57f
Parents:
15d0046
Message:

Update PCUT to newest version

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/tests/abort.c

    r15d0046 r9b20126  
    2828
    2929#include <pcut/pcut.h>
    30 #include "tested.h"
     30#include <stdlib.h>
    3131
    3232PCUT_INIT
    3333
    3434PCUT_TEST(access_null_pointer) {
    35         int a = 5;
    36         int *p = &a;
    37         PCUT_ASSERT_INT_EQUALS(5, *p);
    38         p = NULL;
    39         PCUT_ASSERT_INT_EQUALS(5, *p);
     35        abort();
    4036}
    4137
Note: See TracChangeset for help on using the changeset viewer.