Applied missing changes to tests
@@ -131,17 +131,6 @@ static struct Test tests[] = {
.freq = 5,
.format = FLASH_FORMAT_BINARY }
},
- { "--debug --freq=6k --reset write test.bin 0x80000000", -1,
- { .cmd = FLASH_CMD_WRITE,
- .serial = { 0 },
- .filename = "test.bin",
- .addr = 0x80000000,
- .size = 0,
- .reset = 1,
- .log_level = DEBUG_LOG_LEVEL,
- .freq = 6,
- .format = FLASH_FORMAT_BINARY }
- },
{ "--debug --reset read test.bin 0x80000000 1000", 0,
{ .cmd = FLASH_CMD_READ,
.serial = { 0 },
@@ -211,10 +200,10 @@ static struct Test tests[] = {
{ "--debug --reset --format=binary write test.hex", -1, FLASH_OPTS_INITIALIZER },
{ "--debug --reset --format=ihex write test.hex 0x80000000", -1, FLASH_OPTS_INITIALIZER },
{ "--debug --reset write test.hex sometext", -1, FLASH_OPTS_INITIALIZER },
- { "--serial A1020304 erase sometext", -1, FLASH_OPTS_INITIALIZER },
- { "--serial A1020304 erase", 0,
+ { "--serial ABCEFF544851717867216044 erase sometext", -1, FLASH_OPTS_INITIALIZER },
+ { "--serial ABCEFF544851717867216044 erase", 0,
{ .cmd = FLASH_CMD_ERASE,
- .serial = "\xA1\x02\x03\x04",
+ .serial = "ABCEFF544851717867216044",
.filename = NULL,
.addr = 0,
.size = 0,
@@ -223,9 +212,9 @@ static struct Test tests[] = {
.freq = 0,
.format = FLASH_FORMAT_BINARY }
},
- { "--serial=A1020304 erase", 0,
+ { "--serial=ABCEFF544851717867216044 erase", 0,
{ .cmd = FLASH_CMD_ERASE,
- .serial = "\xA1\x02\x03\x04",
+ .serial = "ABCEFF544851717867216044",
.filename = NULL,
.addr = 0,
.size = 0,
