From 97c91217ca020318dad4642812c1d8351c965993 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Tue, 9 May 2023 14:12:48 +0200 Subject: [PATCH] [2] Track repo rule label attributes after the first non-existent one Even with this commit, the fact that a particular label in a repository rule's label attributes does not resolve to a regular file is not tracked, which means that there is still a potential for incorrect incremental fetches. Work towards #13441 --- src/test/shell/bazel/external_integration_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/shell/bazel/external_integration_test.sh b/src/test/shell/bazel/external_integration_test.sh index 9b2bcf8cca594b..1583ed5802c0c3 100755 --- a/src/test/shell/bazel/external_integration_test.sh +++ b/src/test/shell/bazel/external_integration_test.sh @@ -2461,7 +2461,7 @@ EOF mkdir main cd main - cat > foo.bzl <<'EOF' + cat > foo.bzl < bar.bzl <<'EOF' + cat > bar.bzl < "${TEST_log}" 2>&1 && fail "expected failure" || : - inplace-sed -e 's?$(pwd)/?PWD/?g' "${TEST_log}" + inplace-sed -e "s?$(pwd)/?PWD/?g" "${TEST_log}" expect_not_log '[iI]nternal [eE]rror' expect_not_log 'IllegalStateException'