Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753685AbbHCQes (ORCPT ); Mon, 3 Aug 2015 12:34:48 -0400 Received: from www62.your-server.de ([213.133.104.62]:58406 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752940AbbHCQer (ORCPT ); Mon, 3 Aug 2015 12:34:47 -0400 Message-ID: <55BF9822.3070000@iogearbox.net> Date: Mon, 03 Aug 2015 18:34:42 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Nicolas Schichan , Alexei Starovoitov , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] test_bpf: add module parameters to filter the tests to run. References: <1438610528-14245-1-git-send-email-nschichan@freebox.fr> <1438610528-14245-5-git-send-email-nschichan@freebox.fr> <55BF8F90.5030001@iogearbox.net> <55BF9590.4080205@freebox.fr> In-Reply-To: <55BF9590.4080205@freebox.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 20 On 08/03/2015 06:23 PM, Nicolas Schichan wrote: ... >> Btw, for the range test in prepare_bpf_tests(), you could also reject >> a negative lower bound index right there. > > I thought it was better to have all the sanity checks grouped in > prepare_bpf_tests() (with the checking of the test_name and test_id parameters > nearby) ? Also a negative lower bound is meaning that no range has been set so > all tests should be run. I just got a bit confused when loading test_range=-100,1 was not rejected, but they do indeed all run in this case. Thanks, Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/