tests: fix factor's tests to use coreutil's own sha1sum
commitcd4139df89d56d03c6e953153b33b33ba054b079
authorBernhard Voelker <mail@bernhard-voelker.de>
Fri, 9 Nov 2012 14:09:05 +0000 (9 15:09 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 9 Nov 2012 14:50:23 +0000 (9 14:50 +0000)
treedab1d2841951c3b659cf55eaf4ca243cb4dbe45e
parent2aeb77bf0f005a079ebaa78caf0b4d21ff10563c
tests: fix factor's tests to use coreutil's own sha1sum

The test used the shasum utility which seems to belong to the
perl package. On SLES-10.4, perl doesn't include this yet:

  + seq 0 10000000
  + factor
  + shasum -c --status exp
  ./tests/factor/t00.sh: line 30: shasum: command not found
  + Exit 1

It is better to use our own stuff anyway.

* tests/factor/run.sh: s/shasum/sha1sum/. Additionally, add
sha1sum to the print_ver_ call.
tests/factor/run.sh