mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
Create a symlink for the external_extensions.json.
power_LoadTest will use this symlink to load a test extension at login. BUG=None TEST=power_LoadTest Signed-off-by: Benson Leung <bleung@chromium.org> Review URL: http://codereview.chromium.org/2877007
This commit is contained in:
parent
2ace49e0a4
commit
70dc38b4c8
15
mod_for_test_scripts/750enableExternalExtensions
Executable file
15
mod_for_test_scripts/750enableExternalExtensions
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
#
|
||||
# Create a symlink to external_extensions.json to allow autotests
|
||||
# to launch a packaged extension at login.
|
||||
|
||||
echo "Creating external_extensions.json symlink"
|
||||
LINK_TARGET="/home/autotest/tests/external_extensions.json"
|
||||
EXT_DIR="${ROOT_FS_DIR}/opt/google/chrome/extensions"
|
||||
FILE="${EXT_DIR}/external_extensions.json"
|
||||
mkdir -p $EXT_DIR
|
||||
ln -sf $LINK_TARGET $FILE
|
||||
Loading…
x
Reference in New Issue
Block a user