Skip to content

Commit 194af5e

Browse files
Jon SalzGerrit
Jon Salz
authored and
Gerrit
committed
Restore global_config.ini (necessary for autotests to run).
Partially reverts I1ddcddac233a7499b7150e5bbea1506c0ceb174a. BUG=chrome-os-partner:11679 TEST=build_image Change-Id: Ia3d30ab0bdb424b5c5584ed761244f2d06538651 Reviewed-on: https://gerrit.chromium.org/gerrit/28160 Commit-Ready: Jon Salz <[email protected]> Reviewed-by: Jon Salz <[email protected]> Tested-by: Jon Salz <[email protected]>
1 parent d2345a6 commit 194af5e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: mod_for_factory_scripts/400configAutotest

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4+
# Use of this source code is governed by a BSD-style license that can be
5+
# found in the LICENSE file.
6+
7+
echo "Configure autotest setting."
8+
9+
GLOBAL_CONFIG="${ROOT_FS_DIR}/usr/local/autotest/global_config.ini"
10+
11+
if [ -f "${GLOBAL_CONFIG}" ]; then
12+
echo -e "File ${GLOBAL_CONFIG} already exists."
13+
exit 1
14+
fi
15+
16+
cat >"${GLOBAL_CONFIG}" <<EOF
17+
[CLIENT]
18+
drop_caches: False
19+
drop_caches_between_iterations: False
20+
EOF

0 commit comments

Comments
 (0)