dhat/tests/filter_copy
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | # It's impossible to get exact matches for copy counts because even trivial C |
| 4 | # programs do a few memcpy/strcpy calls. So we allow some fuzzy matching. |
| 5 | # So we allow 1,000,000..1,009,999 bytes and 1,000..1,099 blocks. |
| 6 | |
| 7 | ./filter_stderr "$@" | |
| 8 | sed -e "s/1,00.,... bytes in 1,0.. blocks/1,000,... bytes in 1,0.. blocks/" |
| 9 |