Changeset 1065 in MondoRescue for branches/stable/mondo/src/test


Ignore:
Timestamp:
Jan 23, 2007, 3:48:48 AM (17 years ago)
Author:
Bruno Cornec
Message:

More tests in
mr_msg function doesn't cascade to _mr_msg anymore, as it doesn't seem to work correctly with multiple varargs entries (I've not found how to do it correctly, so I give up for the moment)
lib code pass valgrind without issue.

Location:
branches/stable/mondo/src/test
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/test/mktest

    r1064 r1065  
    1616gcc $OPT test-conf.c $lib -o test-conf
    1717
     18echo "Testing against previous run"
    1819for f in test-conf test-string test-msg; do
    1920    chmod 755 $f
     
    2324        echo "$f test KO !!"
    2425    fi
     26    valgrind -q --error-exitcode=1 --leak-check=yes ./$f 2>&1 > /tmp/valgrind-$f.res
     27    if [ $? -ne 0 ]; then
     28        echo "valgrind $f test KO !!"
     29    fi
    2530done
Note: See TracChangeset for help on using the changeset viewer.