File: termios_linux_test.go

package info (click to toggle)
golang-github-pkg-term 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 244 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
package termios

import "testing"

func TestTcflush(t *testing.T) {
	f := opendev(t)
	defer f.Close()

	if err := Tcflush(f.Fd(), TCIOFLUSH); err != nil {
		t.Fatal(err)
	}
}