public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Alexey Kodanev <alexey.kodanev@oracle.com>
Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v6] fw_load: new test of device firmware loading
Date: Tue, 2 Jul 2013 20:24:33 +0200	[thread overview]
Message-ID: <20130702182433.GA990@rei.Home> (raw)
In-Reply-To: <1372765421-2934-1-git-send-email-alexey.kodanev@oracle.com>

Hi!
> This test checks the device firmware loading. Since Linux 3.7 it can be loaded
> directly (by-pass udev). The test consists of the two parts: userspace and
> kernelspace.
> 
> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>

This version looks good to me.

But there is one catch there, as we divided the module load function
into the load_module and run_cmd functions the testcase will end up with
TBROK rather than with TCONF when the kernel module couldn't be loaded
due to version mismatch and I would preffer the TCONF in this case.

But that does not block the inclusion of this testcase (and the
configure patch that needs to be applied beforhand) and if we agree that
TCONF is better we can fix the module_load later. One solution that
seems easy enough is to make the run_cmd() return the wait status (as
system() does).

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2013-07-02 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02 11:43 [LTP] [PATCH v6] fw_load: new test of device firmware loading Alexey Kodanev
2013-07-02 18:24 ` chrubis [this message]
2013-07-02 20:50 ` Mike Frysinger
2013-07-03  8:02   ` alexey.kodanev
2013-07-03 10:33     ` chrubis
     [not found]       ` <201307031300.00679.vapier@gentoo.org>
     [not found]         ` <51D548FC.9010003@oracle.com>
2013-07-10 11:14           ` chrubis
     [not found]           ` <51DBCD1E.3040303@oracle.com>
2013-07-10 11:43             ` chrubis
2013-07-03 11:08   ` chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130702182433.GA990@rei.Home \
    --to=chrubis@suse.cz \
    --cc=alexey.kodanev@oracle.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=vasily.isaenko@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox