summaryrefslogtreecommitdiff
path: root/pkg/test/env_test.go
blob: 7a1cd64e2de131160bdf64e49b30069400a11732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package test

import (
	"testing"
)

func TestEnv(t *testing.T) {
	c, s := newClientServer(t)
	defer closeClientServer(c, s)

	r := c.Send("echo %s", xData)
	if r != xData {
		t.Errorf("wrong reply: send '%s', recv '%s'", xData, r)
	}
}