Changeset 7e13972 in mainline for kernel/test/mm/falloc1.c


Ignore:
Timestamp:
2006-12-12T18:51:06Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cce6acf
Parents:
96348adc
Message:

remove asserts and panics from tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/falloc1.c

    r96348adc r7e13972  
    4747        int i, order, run;
    4848        int allocated;
    49 
    50         ASSERT(TEST_RUNS > 1);
     49       
     50        if (TEST_RUNS < 2)
     51                return "Test is compiled with TEST_RUNS < 2";
     52       
    5153        if (frames == NULL)
    5254                return "Unable to allocate frames";
Note: See TracChangeset for help on using the changeset viewer.