Enable incompatible_run_shell_command_string by default
Fixes https://github.com/bazelbuild/bazel/issues/5903
RELNOTES: --incompatible_run_shell_command_string is enabled by default (#5903)
PiperOrigin-RevId: 339641875
diff --git a/src/test/shell/integration/implicit_dependency_reporting_test.sh b/src/test/shell/integration/implicit_dependency_reporting_test.sh
index da91e9b..9f2c893 100755
--- a/src/test/shell/integration/implicit_dependency_reporting_test.sh
+++ b/src/test/shell/integration/implicit_dependency_reporting_test.sh
@@ -66,10 +66,11 @@
cat > rule.bzl <<'EOF'
def _rule_impl(ctx):
out = ctx.actions.declare_file(ctx.label.name + ".txt")
- ctx.actions.run_shell(
+ ctx.actions.run(
inputs = ctx.files._data,
outputs = [out],
- command = ["cp"] + [f.path for f in ctx.files._data] + [out.path],
+ executable = "cp",
+ arguments = [f.path for f in ctx.files._data] + [out.path],
mnemonic = "copying",
progress_message = "Copying implict data dependency for %s" % ctx.label
)