Changeset 63e27ef in mainline for kernel/test/cht/cht1.c


Ignore:
Timestamp:
2017-06-19T21:47:42Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deacc58d
Parents:
7354b5e
Message:

ASSERT → assert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/cht/cht1.c

    r7354b5e r63e27ef  
    2727 */
    2828
     29#include <assert.h>
    2930#include <test.h>
    3031#include <print.h>
    31 #include <debug.h>
    3232#include <adt/cht.h>
    3333#include <synch/rcu.h>
     
    4545{
    4646        val_t *v = member_to_inst(item, val_t, link);
    47         ASSERT(v->hash == (v->unique_id % 10));
     47        assert(v->hash == (v->unique_id % 10));
    4848        return v->hash;
    4949}
     
    7070{
    7171        val_t *v = member_to_inst(item, val_t, link);
    72         ASSERT(!v->deleted);
     72        assert(!v->deleted);
    7373        v->deleted = true;
    7474        free(v);
     
    364364{
    365365        stress_work_t *work = (stress_work_t *)arg;
    366         ASSERT(0 == *work->stop);
     366        assert(0 == *work->stop);
    367367       
    368368        size_t loops = 0;
     
    528528                        thr[i] = thread_create(resize_stresser, &pwork[i], TASK, 0, "cht-resize");
    529529               
    530                 ASSERT(thr[i]);
     530                assert(thr[i]);
    531531                thread_wire(thr[i], &cpus[i % config.cpu_active]);
    532532                thread_ready(thr[i]);
Note: See TracChangeset for help on using the changeset viewer.