Change integration test "log" field to "instance"

This commit is contained in:
Jakob Borg
2015-01-11 09:26:20 +01:00
parent 571cf7d490
commit d4d391b34f
10 changed files with 71 additions and 71 deletions

View File

@@ -37,7 +37,7 @@ var env = []string{
}
type syncthingProcess struct {
log string
instance string
argv []string
port int
apiKey string
@@ -50,7 +50,7 @@ type syncthingProcess struct {
func (p *syncthingProcess) start() error {
if p.logfd == nil {
logfd, err := os.Create(p.log)
logfd, err := os.Create(p.instance + ".out")
if err != nil {
return err
}
@@ -82,7 +82,7 @@ func (p *syncthingProcess) stop() error {
p.cmd.Process.Signal(os.Kill)
p.cmd.Wait()
fd, err := os.Open(p.log)
fd, err := os.Open(p.instance + ".out")
if err != nil {
return err
}