File tree 1 file changed +4
-3
lines changed
scaletest/reconnectingpty
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ func Test_Runner(t *testing.T) {
31
31
runner := reconnectingpty .NewRunner (client , reconnectingpty.Config {
32
32
AgentID : agentID ,
33
33
Init : codersdk.ReconnectingPTYInit {
34
- Command : "echo 'hello world' && sleep 1" ,
34
+ // Use ; here because it's powershell compatible (vs &&).
35
+ Command : "echo 'hello world'; sleep 1" ,
35
36
},
36
37
LogOutput : true ,
37
38
})
@@ -195,7 +196,7 @@ func Test_Runner(t *testing.T) {
195
196
runner := reconnectingpty .NewRunner (client , reconnectingpty.Config {
196
197
AgentID : agentID ,
197
198
Init : codersdk.ReconnectingPTYInit {
198
- Command : "echo 'hello world' && sleep 1" ,
199
+ Command : "echo 'hello world'; sleep 1" ,
199
200
},
200
201
ExpectOutput : "hello world" ,
201
202
LogOutput : false ,
@@ -219,7 +220,7 @@ func Test_Runner(t *testing.T) {
219
220
runner := reconnectingpty .NewRunner (client , reconnectingpty.Config {
220
221
AgentID : agentID ,
221
222
Init : codersdk.ReconnectingPTYInit {
222
- Command : "echo 'hello world' && sleep 1" ,
223
+ Command : "echo 'hello world'; sleep 1" ,
223
224
},
224
225
ExpectOutput : "bello borld" ,
225
226
LogOutput : false ,
You can’t perform that action at this time.
0 commit comments