repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Solaris regtest: aligned / sized expecteds and an improved filter
[valgrind.git]
/
none
/
tests
/
x86
/
filter_inf_nan
blob
f70958cff1dfa3fe2911c656e06c67d68cb1b54e
1
#! /bin/sh
2
3
# Solaris libc prints 'Infinity' or 'infinity' instead of 'inf' and 'NaN' instead of 'nan'.
4
# Filter these differences here.
5
sed
"s/-[Ii]nfinity/ -inf/g"
|
6
sed
"s/[Ii]nfinity/ inf/g"
|
7
sed
"s/NaN/nan/g"
8
9
exit
0
10