]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid false failure when comparing /proc files
authorBernhard Voelker <mail@bernhard-voelker.de>
Thu, 16 Oct 2014 10:23:04 +0000 (12:23 +0200)
committerBernhard Voelker <mail@bernhard-voelker.de>
Fri, 17 Oct 2014 06:02:57 +0000 (08:02 +0200)
commitf1466d180bee2daf682d49215247f00e400d5bae
tree39926696651fd08c079d0fe30c1d40be14ab00fd
parent437f24764963ca2935e1bce368667f8270275a4b
tests: avoid false failure when comparing /proc files

At least the MHz number in /proc/cpuinfo may change, thus leading to
a false positive failure when comparing the expected against the
actual output file.  Use an invariant file instead: /proc/version.

* tests/misc/head-c.sh: s/cpuinfo/version/
tests/misc/head-c.sh