diff options
| author | Andrew Jeffery <andrew@aj.id.au> | 2018-08-08 16:51:44 +0930 |
|---|---|---|
| committer | Andrew Jeffery <andrew@aj.id.au> | 2018-09-05 17:44:24 +0930 |
| commit | e0cdd3ea2f7abd3cb3459bf370b2ff061d6dc522 (patch) | |
| tree | d23c60feadb74de5be65e06f6d827b460a328552 /test | |
| parent | dec6ca61871f9150859d576e8df0de0538cfa234 (diff) | |
| download | phosphor-mboxbridge-e0cdd3ea2f7abd3cb3459bf370b2ff061d6dc522.tar.gz phosphor-mboxbridge-e0cdd3ea2f7abd3cb3459bf370b2ff061d6dc522.zip | |
flash: Rename copy_flash to flash_copy
Change-Id: If449889fca3370e25a65719d2f5c5ec90258d633
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile.am.include | 6 | ||||
| -rw-r--r-- | test/flash_copy.c (renamed from test/copy_flash.c) | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/Makefile.am.include b/test/Makefile.am.include index 760dbdd..55746a5 100644 --- a/test/Makefile.am.include +++ b/test/Makefile.am.include @@ -1,7 +1,7 @@ test_sanity_SOURCES = %reldir%/sanity.c -test_copy_flash_SOURCES = \ - %reldir%/copy_flash.c \ +test_flash_copy_SOURCES = \ + %reldir%/flash_copy.c \ flash.c \ common.c mtd.c \ %reldir%/tmpf.c @@ -99,7 +99,7 @@ test_get_mbox_info_v2_timeout_SOURCES = %reldir%/get_mbox_info_v2_timeout.c \ check_PROGRAMS += \ %reldir%/sanity \ - %reldir%/copy_flash \ + %reldir%/flash_copy \ %reldir%/erase_flash \ %reldir%/write_flash \ %reldir%/get_mbox_info_v2 \ diff --git a/test/copy_flash.c b/test/flash_copy.c index d6632d2..565bb0c 100644 --- a/test/copy_flash.c +++ b/test/flash_copy.c @@ -68,7 +68,7 @@ int main(void) context.fds[MTD_FD].fd = tmp.fd; - copy_flash(&context, 0, dst, TEST_SIZE); + flash_copy(&context, 0, dst, TEST_SIZE); assert(0 == memcmp(src, dst, TEST_SIZE)); free: |

