Skip to content

Commit 8204c57

Browse files
committed
Simplify test, no need to output more than one line
1 parent d11a431 commit 8204c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pty/ptytest/ptytest_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestPtytest(t *testing.T) {
2020
})
2121
// nolint:paralleltest
2222
t.Run("Do not hang on Intel macOS", func(t *testing.T) {
23-
cmd := exec.Command("sh", "-c", "for i in $(seq 1 1000); do echo $i; done")
23+
cmd := exec.Command("sh", "-c", "echo hi, I will cause a hang")
2424
pty := ptytest.New(t)
2525
cmd.Stdin = pty.Input()
2626
cmd.Stdout = pty.Output()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy