1 #! /bin/sh 2 3 # used to filter memcheck output shown by gdb/vgdb. 4 5 dir=`dirname $0` 6 7 $dir/../memcheck/tests/filter_stderr "$@" | 8 9 # filter vgdb messages 10 $dir/filter_vgdb | 11 12 13 14 # filter some normal error messages provided by some gdb 15 # 16 # gdb 7.2 sometimes tries to access address 0x0 (same as with standard gdbserver) 17 # 18 # filter a debian 6.0/ppc32 line 19 # 20 # filter some missing info msg from s390 21 # 22 # Bypass a s390x kernel bug which makes faultstatus test3 fail. In our case, we are 23 # not interested in checking the si_code, but rather the signal passing 24 # in mcsig(no)pass 25 sed -e '/Cannot access memory at address 0x......../d' \ 26 -e '/^[1-9][0-9]* \.\.\/sysdeps\/powerpc\/powerpc32\/dl-start\.S: No such file or directory\./d' \ 27 -e '/^Missing separate debuginfo/d' \ 28 -e '/^Try: zypper install -C/d' \ 29 -e 's/Test 3: FAIL: expected si_code==2, not 128/Test 3: PASS/' 30