From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jul 2016 09:50:07 -0400 Subject: [U-Boot] [U-Boot, 09/14] test/py: Provide a way to check that a command fails In-Reply-To: <1467560446-10628-10-git-send-email-sjg@chromium.org> References: <1467560446-10628-10-git-send-email-sjg@chromium.org> Message-ID: <20160716135007.GO7260@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jul 03, 2016 at 09:40:41AM -0600, Simon Glass wrote: > Sometimes we want to run a command and check that it fails. Add a function > to handle this. It can check the return code and also make sure that the > output contains a given error message. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: