From: Ian Jackson Subject: Re: [PATCH v2 5/5] xl: test script for the cpumap parser (for vCPU pinning) Date: Wed, 11 Sep 2013 11:49:41 +0100 Message-ID: <21040.19141.16074.208092@mariner.uk.xensource.com> References: <20130906154725.10218.45008.stgit@hit-nxdomain.opendns.com> <20130906155600.10218.27695.stgit@hit-nxdomain.opendns.com> <21039.23644.878700.819950@mariner.uk.xensource.com> <1378888304.2821.108.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1378888304.2821.108.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: George Dunlap , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Dario Faggioli writes ("Re: [Xen-devel] [PATCH v2 5/5] xl: test script for the cpumap parser (for vCPU pinning)"): > What I can do is to have a script (or a functioning mode for the same > script, introducing some command line parameters) for generating both > the test vector and the expected output and store both in a file. Then, > the xl-check-foo script will read such file and, for each line, run the > command and compare the result with the one stored in the file, > associated with the command itself... Would that match with what you > where thinking? Yes, precisely. And an output from the generator script should be committed in the repo. Ian.