| 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 360a7e0cd7b9af8c3ea776c7196ce1ddefc1fca8..5eb3b86a40c72c56beec44b26ff25f4ab5302936 100755
|
| --- a/src/scripts/mod_for_factory_scripts/400configAutotest
|
| +++ b/src/scripts/mod_for_factory_scripts/400configAutotest
|
| @@ -6,12 +6,15 @@
|
|
|
| echo "Create global_config.ini in autotest directory."
|
|
|
| -pushd ${STATEFUL_DIR}
|
| +GLOBAL_CONFIG="${STATEFUL_DIR}/home/autotest-client/global_config.ini"
|
|
|
| -cat > ${STATEFUL_DIR}/home/autotest-client/global_config.ini <<EOF
|
| +if [ -f "${GLOBAL_CONFIG}" ]; then
|
| + echo -e "File ${GLOBAL_CONFIG} already exists."
|
| + exit 1
|
| +fi
|
| +
|
| +cat > "${GLOBAL_CONFIG}" <<EOF
|
| [CLIENT]
|
| drop_caches: False
|
| drop_caches_between_iterations: False
|
| EOF
|
| -
|
| -popd
|
|
|