From: Tom Rini Date: Thu, 9 Jun 2016 14:02:40 -0400 Subject: [U-Boot] [U-Boot, v3, 02/12] tests: py: disable main_signon check for printenv cmd In-Reply-To: <1465281085-10481-3-git-send-email-hs@denx.de> References: <1465281085-10481-3-git-send-email-hs@denx.de> Message-ID: <20160609180240.GY11619@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 Tue, Jun 07, 2016 at 08:31:15AM +0200, Heiko Schocher wrote: > if CONFIG_VERSION_VARIABLE is set, the U-Boot environment > contains a "vers" variable with the current U-Boot version > string. If now "printenv" is called, test/py fails as it > detects the main_sign string, which is in this case correct. > > So check only the main_sign as an error, if CONFIG_VERSION_VARIABLE > is not set. > > Signed-off-by: Heiko Schocher 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: