test_build.sh: Use M25P10-A for emulation during tests

The M25P10 used for emulation before had a downside:  Because our
database entry was never tested, the tests spewed the log. All my
attempts to get hands on an actual M25P10 have failed.  The entry
for the M25P10-A, OTOH, is tested.  So use this new emulation for
the tests.

Change-Id: I1c9d0a990c6222e997390686174c44303784dacf
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/413
diff --git a/test_build.sh b/test_build.sh
index 396ee9d..17d1caa 100755
--- a/test_build.sh
+++ b/test_build.sh
@@ -15,15 +15,15 @@
 		return 0
 	fi
 
-	"${prog}" -p dummy:emulate=M25P10.RES,image="${TEMP_DIR}/image" -w "${TEMP_DIR}/rand"
-	"${prog}" -p dummy:emulate=M25P10.RES,image="${TEMP_DIR}/image" -r "${TEMP_DIR}/bak"
+	"${prog}" -p dummy:emulate=M25P10-A,image="${TEMP_DIR}/image" -w "${TEMP_DIR}/rand"
+	"${prog}" -p dummy:emulate=M25P10-A,image="${TEMP_DIR}/image" -r "${TEMP_DIR}/bak"
 	cmp "${TEMP_DIR}/rand" "${TEMP_DIR}/bak"
 
-	"${prog}" -p dummy:emulate=M25P10.RES,image="${TEMP_DIR}/image" -c M25P10 -w "${TEMP_DIR}/rand2"
-	"${prog}" -p dummy:emulate=M25P10.RES,image="${TEMP_DIR}/image" -c M25P10 -v "${TEMP_DIR}/rand2"
+	"${prog}" -p dummy:emulate=M25P10-A,image="${TEMP_DIR}/image" -c M25P10-A -w "${TEMP_DIR}/rand2"
+	"${prog}" -p dummy:emulate=M25P10-A,image="${TEMP_DIR}/image" -c M25P10-A -v "${TEMP_DIR}/rand2"
 
-	"${prog}" -p dummy:emulate=M25P10.RES,image="${TEMP_DIR}/image" -c M25P10 -E
-	"${prog}" -p dummy:emulate=M25P10.RES,image="${TEMP_DIR}/image" -c M25P10 -v "${TEMP_DIR}/empty"
+	"${prog}" -p dummy:emulate=M25P10-A,image="${TEMP_DIR}/image" -c M25P10-A -E
+	"${prog}" -p dummy:emulate=M25P10-A,image="${TEMP_DIR}/image" -c M25P10-A -v "${TEMP_DIR}/empty"
 }
 
 build_and_test() {