aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/git_repository_test.sh
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2016-01-26 19:56:19 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-01-27 15:09:29 +0000
commitb21b2ba98b6676fff9fc6cacc94510a2eb4afea2 (patch)
tree7288bc0bc687dcdd26ce5ec61fbba0bb0cc5325b /src/test/shell/bazel/git_repository_test.sh
parent8b197ac3da38499e093772741a19bac0c43ce76a (diff)
Convert skylark rules and tests to use _ in repo names
-- MOS_MIGRATED_REVID=113081497
Diffstat (limited to 'src/test/shell/bazel/git_repository_test.sh')
-rwxr-xr-xsrc/test/shell/bazel/git_repository_test.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/shell/bazel/git_repository_test.sh b/src/test/shell/bazel/git_repository_test.sh
index e9061d5b6c..155117f4d2 100755
--- a/src/test/shell/bazel/git_repository_test.sh
+++ b/src/test/shell/bazel/git_repository_test.sh
@@ -185,7 +185,7 @@ function test_new_git_repository_submodules() {
cd $WORKSPACE_DIR
cat > WORKSPACE <<EOF
new_git_repository(
- name = "outer-planets",
+ name = "outer_planets",
remote = "$outer_planets_repo_dir",
tag = "1-submodule",
init_submodules = 1,
@@ -213,16 +213,16 @@ sh_binary(
name = "planet-info",
srcs = ["planet_info.sh"],
data = [
- "@outer-planets//:neptune",
- "@outer-planets//:pluto",
+ "@outer_planets//:neptune",
+ "@outer_planets//:pluto",
],
)
EOF
cat > planets/planet_info.sh <<EOF
#!/bin/bash
-cat external/outer-planets/neptune/info
-cat external/outer-planets/pluto/info
+cat external/outer_planets/neptune/info
+cat external/outer_planets/pluto/info
EOF
chmod +x planets/planet_info.sh