Jonathan Turner пре 8 година
родитељ
комит
424a95bfb9
2 измењених фајлова са 2 додато и 6 уклоњено
  1. 1 0
      .travis.yml
  2. 1 6
      credentials/ccache_integration_test.go

+ 1 - 0
.travis.yml

@@ -1,6 +1,7 @@
 language: go
 
 go:
+  - 1.7.x
   - 1.8.x
   - 1.9.x
   - 1.10.x

+ 1 - 6
credentials/ccache_integration_test.go

@@ -33,19 +33,14 @@ func login() error {
 
 	stdinR, stdinW := io.Pipe()
 	stderrR, stderrW := io.Pipe()
-
 	cmd.Stdin = stdinR
 	cmd.Stderr = stderrW
 
-	//stderr, _ := cmd.StderrPipe()
-	//stdin, err := cmd.StdinPipe()
-	//if err != nil {
-	//	return fmt.Errorf("could not open stdin to %s command: %v", kinitCmd, err)
-	//}
 	err = cmd.Start()
 	if err != nil {
 		return fmt.Errorf("could not start %s command: %v", kinitCmd, err)
 	}
+
 	go func() {
 		io.WriteString(stdinW, "passwordvalue")
 		stdinW.Close()