Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(769)

Unified Diff: src/scripts/mod_for_factory_scripts/400configAutotest

Issue 2562001: Fix missing path of factory files. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/mod_for_factory_scripts/400configAutotest
diff --git a/src/scripts/mod_for_factory_scripts/400configAutotest b/src/scripts/mod_for_factory_scripts/400configAutotest
index 50187528b18e12ad8510547a09e985fef17b7cc7..a848c9745440c05ac78c825bea70825e527139ab 100755
--- a/src/scripts/mod_for_factory_scripts/400configAutotest
+++ b/src/scripts/mod_for_factory_scripts/400configAutotest
@@ -4,7 +4,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-echo "Create global_config.ini in autotest directory."
+echo "Configure autotest setting."
+
+SCRIPT_DIR="${GCLIENT_ROOT}/src/scripts/mod_for_factory_scripts/"
+AUTOTEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/"
+
+cp "${SCRIPT_DIR}/factory_ui" "${AUTOTEST_DIR}"
+chmod +x "${AUTOTEST_DIR}/factory_ui"
+cp "${SCRIPT_DIR}/factory_startx.sh" "${AUTOTEST_DIR}"
+chmod +x "${AUTOTEST_DIR}/factory_startx.sh"
GLOBAL_CONFIG="${ROOT_FS_DIR}/usr/local/autotest/global_config.ini"
@@ -13,13 +21,6 @@ if [ -f "${GLOBAL_CONFIG}" ]; then
exit 1
fi
-AUTOTEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/"
-
-chmod +x factory_ui
-cp "factory_ui" "${AUTOTEST_DIR}"
-chmod +x factory_startx.sh
-cp "factory_startx.sh" "${AUTOTEST_DIR}"
-
cat > "${GLOBAL_CONFIG}" <<EOF
[CLIENT]
drop_caches: False
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698