Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/suite_Factory" | |
| 8 | |
| 9 pushd ${TEST_DIR} 1> /dev/null | |
|
Hung-Te
2010/11/17 03:50:21
better to be quoted as "${TEST_DIR}". And I think
Nick Sanders
2010/11/17 03:59:15
This is to maintain consistency with other mod_for
| |
| 10 | |
| 11 # If there is a customize_$BOARD script for this board, let's run it. | |
| 12 # This allows adding settings for specific factories or systems. | |
| 13 CUSTOMIZE="customize_${BOARD}" | |
| 14 if [ -e "${CUSTOMIZE}" ]; then | |
| 15 echo "Running ${CUSTOMIZE}" | |
| 16 "./${CUSTOMIZE}" | |
|
Hung-Te
2010/11/17 03:50:21
pushd/popd is sometimes buggy, and is bash-only. S
| |
| 17 fi | |
| 18 | |
| 19 # We don't need the customize script anymore. | |
| 20 rm -f customize_* | |
| 21 | |
| 22 popd 1> /dev/null | |
|
Hung-Te
2010/11/17 03:50:21
popd >/dev/null
| |
| OLD | NEW |