Difference: UsingMemento (9 vs. 10)

Revision 102020-02-25 - JulianSmith

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Memento

Line: 178 to 178
 
  • grep -w segv
  • grep -w leak
Added:
>
>

Using MEMENTO_SQUEEZES

You can test multiple squeeze regions by setting MEMENTO_SQUEEZES to one or more comma-separated ranges.

To simplify testing around known allocation numbers we support some limited addition and subtraction.

Each range is a begin value optionally followed by .. and an end value. The end value can start with '+' in which case it is relative to the begin value. A value is a number optionally followed by '+' or '-' and a second number.

MEMENTO_SQUEEZES=<range>[,<range>]+
    <range>
        <value1>..<value2>
        <value>             - evaluates to <value>..<value>+1.
        <value>..+<number>  - evaluates to <value>..<value>+<number>
    <value>
        <number>
        <number>+<number>
        <number>-<number>

    <number>: [0-9]+

E.g.: MEMENTO_SQUEEZES=115802-5..+10,115867-5..+10,119928-5..+10 will test the 10 adjacent allocation values around each of 115802, 115867 and 119928, which is useful to check one hasn't broken some previous memento fixes.

 

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 2014 Artifex Software Inc