summaryrefslogtreecommitdiffstats
path: root/test/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-02 13:17:31 -0700
committerTom Rini <trini@ti.com>2015-01-14 11:35:43 -0500
commitb5493d17bdc62b0a0608d539bd2756eb7ed1cc9c (patch)
treec5472871655f1cb3c52aa78e74d9bb3b98dca954 /test/dm
parent40e5975f9ad7a545b85d2430d6517d8d3d18e87d (diff)
downloadtalos-obmc-uboot-b5493d17bdc62b0a0608d539bd2756eb7ed1cc9c.tar.gz
talos-obmc-uboot-b5493d17bdc62b0a0608d539bd2756eb7ed1cc9c.zip
sandbox: Correct ordering of 'sb save' commands
Prior to commit d455d87 there was an inconsistency between the position of the 'address' parameter in 'sb load' and 'sb save'. This was corrected but it broke some tests. Fix the tests and also the help for 'sb save'. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm')
-rw-r--r--test/dm/sf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/sf.c b/test/dm/sf.c
index 57dd1345c4..08098a18b8 100644
--- a/test/dm/sf.c
+++ b/test/dm/sf.c
@@ -29,7 +29,7 @@ static int dm_test_spi_flash(struct dm_test_state *dms)
* benefit is worth the extra complexity.
*/
ut_asserteq(0, run_command_list(
- "sb save hostfs - spi.bin 0 200000;"
+ "sb save hostfs - 0 spi.bin 200000;"
"sf probe;"
"sf test 0 10000", -1, 0));
/*
OpenPOWER on IntegriCloud