| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
dir=`dirname $0` |
| 4 |
|
| 5 |
# FreeBSD adds this one extra line |
| 6 |
# but after filter_xml_frames it will just be <path>...<\/path> |
| 7 |
# which matches other lines, so get rid of it while we can |
| 8 |
# uniquely match it |
| 9 |
sed "/<path>internet<\/path>/d" | |
| 10 |
|
| 11 |
$dir/../../tests/filter_xml_frames | |
| 12 |
perl -p -e "s/<time>.*<\/time>/<time>...<\/time>/s" | |
| 13 |
perl -p -e "s/<what>.*<\/what>/<what>...<\/what>/s" | |
| 14 |
perl -p -e "s/<path>.*<\/path>/<path>...<\/path>/s" | |
| 15 |
perl -p -e "s/<line>Copyright.*<\/line>/<line>Copyright...<\/line>/s" | |
| 16 |
perl -p -e "s/<line>Using Valgrind.*<\/line>/<line>Using Valgrind...<\/line>/s" | |
| 17 |
sed "s/<ppid>[0-9]*<\/ppid>/<ppid>...<\/ppid>/" | |
| 18 |
sed "s/<tid>[0-9]*<\/tid>/<tid>...<\/tid>/" | |
| 19 |
sed "s/<pid>[0-9]*<\/pid>/<pid>...<\/pid>/" | |
| 20 |
sed "s/<obj>.*<\/obj>/<obj>...<\/obj>/" | |
| 21 |
sed "s/<exe>.*<\/exe>/<exe>...<\/exe>/" | |
| 22 |
sed "s/<dir>.*<\/dir>/<dir>...<\/dir>/" | |
| 23 |
sed "s/<ppid>[0-9]*<\/ppid>/<ppid>...<\/ppid>/" | |
| 24 |
sed "s/<unique>0x[0-9a-fA-F]*<\/unique>/<unique>0x........<\/unique>/" | |
| 25 |
sed "s/<ip>0x[0-9a-fA-F]*<\/ip>/<ip>0x........<\/ip>/" |