Skip to content

Commit

Permalink
segmenter: Remove invalid netcat flag in test (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomshutt authored Mar 31, 2022
1 parent ab6ae87 commit 9fc0abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segmenter/video_segmenter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func TestServerDisconnect(t *testing.T) {

ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()
cmd := "dd if=/dev/urandom count=1 ibs=2000 | nc -Nl " + port
cmd := "dd if=/dev/urandom count=1 ibs=2000 | nc -l " + port
go exec.CommandContext(ctx, "bash", "-c", cmd).Output()

err := RunRTMPToHLS(vs, ctx)
Expand Down

0 comments on commit 9fc0abf

Please sign in to comment.