From mboxrd@z Thu Jan 1 00:00:00 1970 From: Khalid Tourabi Date: Mon, 10 Dec 2012 11:58:43 +0100 Subject: [U-Boot] U-boot : compare read and expect value Message-ID: <50C5C063.2020600@planar.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I'm newbie and I want to use scripts to test the board peripherals (I2C, SPI, LAN, PCIe, USB, ...) using u-boot. My problem is how to compare the reading with the expected value? the reading is in an environment variable? If so which one? I searched the forums and docs without success. Thanks & Best Regards, Khalid