From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQkyX-0006pn-Pq for qemu-devel@nongnu.org; Thu, 20 Mar 2014 17:58:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQkyP-0005ux-B8 for qemu-devel@nongnu.org; Thu, 20 Mar 2014 17:58:09 -0400 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:42644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQkyP-0005tw-6W for qemu-devel@nongnu.org; Thu, 20 Mar 2014 17:58:01 -0400 Received: by mail-qc0-f173.google.com with SMTP id r5so1870415qcx.32 for ; Thu, 20 Mar 2014 14:58:00 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <532B645B.5020507@redhat.com> Date: Thu, 20 Mar 2014 22:57:47 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1395350099-14664-1-git-send-email-marcel.a@redhat.com> In-Reply-To: <1395350099-14664-1-git-send-email-marcel.a@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.0 V3] tests/acpi-test: do not run iasl on big endian machines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcel Apfelbaum , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, mst@redhat.com, aik@ozlabs.ru, mjt@tls.msk.ru, stefanha@redhat.com, afaerber@suse.de, rth@twiddle.net Il 20/03/2014 22:14, Marcel Apfelbaum ha scritto: > +# All known versions of iasl on BE machines are broken. > +# TODO: add detection code once a non-broken version makes an appearance. > +if ($iasl -h > /dev/null 2>&1) && > + (lscpu | grep "Byte Order" | grep --quiet "Little Endian" ); then lscpu is not portable. Paolo