From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3PQ3-0003Aw-MY for qemu-devel@nongnu.org; Wed, 15 Jan 2014 07:18:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3PPx-0002FH-N7 for qemu-devel@nongnu.org; Wed, 15 Jan 2014 07:18:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3PPx-0002FD-F7 for qemu-devel@nongnu.org; Wed, 15 Jan 2014 07:17:57 -0500 Message-ID: <52D67C65.8080108@redhat.com> Date: Wed, 15 Jan 2014 13:17:41 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1389775713-996-1-git-send-email-famz@redhat.com> <1389775713-996-7-git-send-email-famz@redhat.com> <52D6775B.9000704@redhat.com> <52D6797A.1090705@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v16 6/9] module: implement module loading List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Kevin Wolf , Fam Zheng , Stefan Hajnoczi , Michael Tokarev , QEMU Developers , Alex Bligh , Miroslav Rezanina , =?UTF-8?B?TGx1w61zIFZpbGFub3Zh?= , Richard Henderson Il 15/01/2014 13:11, Peter Maydell ha scritto: >> > >> > Then we need a test that tries both sha1sum and shasum > Which systems do you expect to have sha1sum but not > shasum ? Windows (mingw/Cygwin) mainly, but on my Fedora machine only three programs require perl-Digest-SHA (which provides shasum): cpan, shutter and git-send-email. So it's plausible that a system does not have it. > Googling suggests the BSDs call the native program 'sha256' > but probably have perl's shasum anyway. We can add BSD's sha1 (or sha256, but it's simpler to use shasum without arguments) to the test, too. Paolo