add orgin back when clone repo (due to git submodule).

This commit is contained in:
charles-chenzz
2023-10-01 16:25:29 +08:00
parent 45e57f0228
commit 60d7ee6710
2 changed files with 8 additions and 2 deletions

View File

@@ -205,8 +205,8 @@ resources:
resources:
- file://$ROOT/with-submodule.git/submodule?ref=relative-submodule
`,
// TODO(annasong): Replace with simpleBuild once #5131 is fixed.
err: `failed to run '\S+/git submodule update --init --recursive'`,
expected: simpleBuild,
},
{
name: "has timeout",