commit | e66a10f473ed853393061633e3803a8f71e47bff | [log] [tgz] |
---|---|---|
author | Patrice Duroux <duroux.patrice@orange.fr> | Tue Oct 10 04:54:07 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Oct 10 04:55:26 2023 -0700 |
tree | 874fb96f8233c88b574f65d8c02ae03fbda70ea1 | |
parent | 9a7b1f7808c59abebb91a79f05aedefeddedfbba [diff] |
most likely a typo for the redirection (&>2 is >&2) Otherwise it is creating a '2' file where it addresses the echo message. Closes #19740. PiperOrigin-RevId: 572209172 Change-Id: I378decfda2d8f91badfe18df408e495783c63529
diff --git a/src/test/shell/integration/target_compatible_with_test.sh b/src/test/shell/integration/target_compatible_with_test.sh index 19dc829..2b0c674 100755 --- a/src/test/shell/integration/target_compatible_with_test.sh +++ b/src/test/shell/integration/target_compatible_with_test.sh
@@ -558,7 +558,7 @@ name = "genrule_foo1", target_compatible_with = [":foo1"], outs = ["foo1.sh"], - cmd = "echo 'Should not be executed' &>2; exit 1", + cmd = "echo 'Should not be executed' >&2; exit 1", ) sh_binary(