summaryrefslogtreecommitdiff
path: root/util/flashrom_partial_write_test.sh
Commit message (Collapse)AuthorAgeFilesLines
* whitespace, documentation and other small stuffstefanct2011-05-191-3/+3
| | | | | | | | | | | | | | | this patch combines three previously posted patches in a revised form. one is even stolen from Stefan Reinauer (remove umlauts from man page). Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Signed-off-by: Stefan Reinauer <reinauer@google.com> some parts are Acked-by: Carl-Daniel Hailfinger<c-d.hailfinger.devel.2006@gmx.net> the rest is Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1317 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Add a line of output for each iteration of the torture test.hailfinger2010-11-021-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This serves as a sort of progress indicator. The output looks like this:: localhost ~ # FLASHROM="./flashrom" sh flashrom_partial_write_test.sh testing flashrom binary: ./flashrom Running test in /tmp/tmp.4xPejwaADU ffh pattern written in ff_4k.bin 00h pattern written in 00_4k.bin Reading BIOS image Original image saved as bios.bin aligned region 0 test: passed ... aligned region 15 test: passed unaligned region 0 test: passed ... unaligned region 15 test: passed Result: PASSED restoring original bios image using system's flashrom test files remain in /tmp/tmp.4xPejwaADU Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1222 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Use mktemp unconditionally for security reasons.hailfinger2010-11-021-3/+9
| | | | | | | | | | Avoid non-portable seq. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Idwer Vollering <vidwer@gmail.com> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1221 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Replace "$FLASHROM_PARAM" with ${FLASHROM_PARAM} inhailfinger2010-10-291-7/+7
| | | | | | | | | | | | util/flashrom_partial_write_test.sh to avoid passing in quoted parameters which can cause problems especially if FLASHROM_PARAM is empty or contains spaces. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1219 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* flashrom torture test script.hailfinger2010-10-291-0/+281
Focus is on partial write and layout functionality. Minor modifications by Carl-Daniel Hailfinger. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1218 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1