test: Add copy_flash

Change-Id: Iac6b6207c01f1db322803218231ca97c210a583c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/Makefile.am b/Makefile.am
index dea382f..f1491d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,9 @@
 
 test_sanity_SOURCES = test/sanity.c
 
-check_PROGRAMS = test/sanity
+test_copy_flash_SOURCES = test/copy_flash.c mboxd_flash.c common.c mtd.c test/tmpf.c
+
+check_PROGRAMS = test/sanity \
+		test/copy_flash
 
 TESTS = $(check_PROGRAMS)