On 10/16/2014 10:34 AM, Pádraig Brady wrote:
On 10/16/2014 09:24 AM, Bernhard Voelker wrote:
The MHz number in /proc/cpuinfo may change, thus leading to
a false positive failure when comparing the expected against
the actual output file.

* tests/misc/head-c.sh: Replace the actual MHz number in the files
to be compared by a placeholder.

Oh right good one.
It's probably better to use an invariant file rather than
messing with sed and GHz and possible other variant parts.

How about /proc/version

Well, /proc/cpuinfo is a multi-line file while /proc/version
is not. Maybe it's better to use another multi-line one which
does not change too often - like /proc/filesystems ?

Thanks & have a nice day,
Berny

Reply via email to