(t *testing.T)
| 21 | var testSocketCounter uint64 |
| 22 | |
| 23 | func testSocketPath(t *testing.T) string { |
| 24 | t.Helper() |
| 25 | n := atomic.AddUint64(&testSocketCounter, 1) |
| 26 | path := fmt.Sprintf("/tmp/ls-test-%d.sock", n) |
| 27 | t.Cleanup(func() { os.Remove(path) }) |
| 28 | return path |
| 29 | } |
| 30 | |
| 31 | func TestServer_HandleInfo(t *testing.T) { |
| 32 | db, sqldb := testingutil.MustOpenDBs(t) |
no test coverage detected