tests: Use proper command line options on GNU/Hurd systems GNU/Hurd systems use the same sed/sha1sum/state command lines as Linux and Cygwin. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>