From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751318AbbJBTjn (ORCPT ); Fri, 2 Oct 2015 15:39:43 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35811 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbbJBTjl (ORCPT ); Fri, 2 Oct 2015 15:39:41 -0400 Subject: Re: [PATCH v2 2/2] selftests/pstore: add pstore test scripts going with reboot To: Hiraku Toyooka , linux-kernel@vger.kernel.org References: <20151002114637.20957.61769.stgit@arietta> <20151002114641.20957.60082.stgit@arietta> Cc: Tony Luck , Kees Cook , linux-api@vger.kernel.org, Anton Vorontsov , Shuah Khan , Colin Cross , Seiji Aguchi From: Mark Salyzyn Message-ID: <560EDD7B.1000406@android.com> Date: Fri, 2 Oct 2015 12:39:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151002114641.20957.60082.stgit@arietta> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/02/2015 04:46 AM, Hiraku Toyooka wrote: > To test pstore in earnest, we have to cause kernel crash and check > pstore filesystem after reboot. > > We add two scripts: > - pstore_crash_test > This script causes kernel crash and reboot. It is executed by > 'make run_pstore_crash' in selftests. It can also be used with kdump. > - pstore_post_reboot_tests > This script includes test cases which check pstore's behavior after > crash and reboot. It is executed together with pstore_tests by > 'make run_tests [-C pstore]' in selftests. > +1