fixtures

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package fixtures provides a go:generate-friendly entry point for compiling the test binaries. To build them all:

go build -o test/fixtures/bin/fixture-echo   ./test/fixtures/echo
go build -o test/fixtures/bin/fixture-noisy  ./test/fixtures/noisy
go build -o test/fixtures/bin/fixture-crasher ./test/fixtures/crasher
go build -o test/fixtures/bin/fixture-hanger ./test/fixtures/hanger

Directories

Path Synopsis
fixture-crasher exits with a specific code after a delay.
fixture-crasher exits with a specific code after a delay.
fixture-echo reads stdin line by line and writes each line to stdout.
fixture-echo reads stdin line by line and writes each line to stdout.
fixture-hanger ignores SIGTERM until it receives SIGKILL.
fixture-hanger ignores SIGTERM until it receives SIGKILL.
fixture-noisy writes a heartbeat line to stdout and stderr every 100ms.
fixture-noisy writes a heartbeat line to stdout and stderr every 100ms.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL