File: control_cmd_misc_test.go

package info (click to toggle)
golang-github-cretz-bine 0.2.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports, trixie
  • size: 652 kB
  • sloc: makefile: 3
file content (9 lines) | stat: -rw-r--r-- 171 bytes parent folder | download
1
2
3
4
5
6
7
8
9
package tests

import "testing"

func TestSignal(t *testing.T) {
	ctx := NewTestContext(t, nil)
	defer ctx.Close()
	ctx.Require.NoError(ctx.Control.Signal("HEARTBEAT"))
}