| ... | @@ -232,6 +232,12 @@ describe("ssh tunnel scripts", () => { | ... | @@ -232,6 +232,12 @@ describe("ssh tunnel scripts", () => { |
| 232 | assert.notInclude(script, "npx"); | 232 | assert.notInclude(script, "npx"); |
| 233 | }); | 233 | }); |
| 234 | | 234 | |
| | 235 | it("embeds the runner in the launch script byte for byte", () => { |
| | 236 | const runner = buildRemoteT3RunnerScript(ARCHIVE); |
| | 237 | assert.include(runner, 'printf \'%s\\n\' "$$" > "$T3_LOCK/pid.tmp"'); |
| | 238 | assert.include(buildRemoteLaunchScript(ARCHIVE), runner); |
| | 239 | }); |
| | 240 | |
| 235 | it("uses the remote t3 runner for launch and pairing scripts", () => { | 241 | it("uses the remote t3 runner for launch and pairing scripts", () => { |
| 236 | const stateKey = "711bc738002d72fd"; | 242 | const stateKey = "711bc738002d72fd"; |
| 237 | const launch = SshTunnel.buildRemoteLaunchScript(ARCHIVE); | 243 | const launch = SshTunnel.buildRemoteLaunchScript(ARCHIVE); |