Fix bash entrypoint tests (#160705)

Fixes the bash integration test missing a file.
This commit is contained in:
John McDole 2024-12-21 16:39:11 -08:00 committed by GitHub
parent 7df127b1ee
commit d443df008b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,6 +94,16 @@ echo downloaded dart sdk
''');
makeExecutable(updateDartSdk);
final File udpateEngine = tempDir
.childDirectory('bin')
.childDirectory('internal')
.childFile('update_engine_version.sh')..writeAsStringSync('''
#!/usr/bin/env bash
echo engine version
''');
makeExecutable(udpateEngine);
// create a fake dart runtime
final File dartBin = (tempDir
.childDirectory('bin')