none/tests/amd64-darwin/filter_stderr
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | dir=`dirname $0` |
| 4 | |
| 5 | # Remove ==pid== and --pid-- and **pid** strings |
| 6 | perl -p -e 's/(==|--|\*\*)[0-9]{1,7}\1 //' | |
| 7 | |
| 8 | perl -p -e 's/0x[0-9A-Fa-f]+/0x......../g' |
| 9 | |
| 10 | # NOTE: it is essential for the bug345887 testcase that the stderr |
| 11 | # filtering does *not* remove lines beginning with -- |