Index: mod_image_for_test.sh |
diff --git a/mod_image_for_test.sh b/mod_image_for_test.sh |
index 822a293262469837388005b2d7d25b4eba9378f1..769941850bf33581c5d6ea999c08581ca68270e4 100755 |
--- a/mod_image_for_test.sh |
+++ b/mod_image_for_test.sh |
@@ -178,8 +178,10 @@ IMAGE_DIR="$(dirname "${FLAGS_image}")" |
if [ ${FLAGS_inplace} -eq ${FLAGS_FALSE} ]; then |
if [ ${FLAGS_factory} -eq ${FLAGS_TRUE} ]; then |
TEST_PATHNAME="${IMAGE_DIR}/${CHROMEOS_FACTORY_TEST_IMAGE_NAME}" |
+ typename="factory" |
else |
TEST_PATHNAME="${IMAGE_DIR}/${CHROMEOS_TEST_IMAGE_NAME}" |
+ typename="test" |
fi |
if [ ! -f "${TEST_PATHNAME}" ] || \ |
[ ${FLAGS_force_copy} -eq ${FLAGS_TRUE} ] ; then |
@@ -188,7 +190,7 @@ if [ ${FLAGS_inplace} -eq ${FLAGS_FALSE} ]; then |
|| die "Cannot copy ${FLAGS_image} to test image" |
FLAGS_image="${TEST_PATHNAME}" |
else |
- echo "Using cached test image" |
+ echo "Using cached ${typename} image" |
exit |
fi |