From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S61gG-0000iU-0M for qemu-devel@nongnu.org; Fri, 09 Mar 2012 10:24:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S61gC-0003LQ-00 for qemu-devel@nongnu.org; Fri, 09 Mar 2012 10:24:31 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:34206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S61gB-0003LL-Ps for qemu-devel@nongnu.org; Fri, 09 Mar 2012 10:24:27 -0500 Received: by pbcuo5 with SMTP id uo5so3040181pbc.4 for ; Fri, 09 Mar 2012 07:24:25 -0800 (PST) Message-ID: <4F5A20A5.5050808@codemonkey.ws> Date: Fri, 09 Mar 2012 09:24:21 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <4F582EDB.1040608@redhat.com> <4F58B5CB.8040503@codemonkey.ws> <4F58CDEA.2020506@redhat.com> <4F59010C.2060105@codemonkey.ws> <4F5909B3.4080405@redhat.com> <4F590BD7.6030605@codemonkey.ws> <4F5913F3.3040503@redhat.com> <4F591EB4.1090300@codemonkey.ws> <4F5A076E.9040904@redhat.com> <4F5A0D49.60200@codemonkey.ws> <4F5A13FA.6040606@redhat.com> <4F5A1729.5060206@codemonkey.ws> <4F5A1B25.6070306@redhat.com> <4F5A1B86.4070806@codemonkey.ws> <4F5A1F18.3010006@redhat.com> In-Reply-To: <4F5A1F18.3010006@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Future goals for autotest and virtualization tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Lucas Meneghel Rodrigues , Cleber Rosa , QEMU devel , Ademar Reis On 03/09/2012 09:17 AM, Paolo Bonzini wrote: > Il 09/03/2012 16:02, Anthony Liguori ha scritto: >>> >>> But again that's not okay for all testcases. If I want to do SCSI >>> tests, I cannot write them in shell scripts because qemu-jeos does not >>> have sg3_utils. >> >> What SCSI tests are you trying to write? > > At the very least dump the inquiry pages, mode pages, etc. and see that > they make sense and correspond to the device properties. Is this not something that's reasonably easy to do in qtest? Is it possible to write a C program that does the ioctl and dump the inquiry page in a text format conducive to shell parsing? >> Are these the sort of tests that would be interesting to also run on >> Fedora, Windows, and Ubuntu? > > They should give exactly the same output on any guest. Is it valuable to have a per-platform test or since this is mostly passthrough to the device (I assume), do you just need a single test? Regards, Anthony Liguori > > Paolo