fly: fix integration tests
no more unsanitized input to regex
@@ -7,6 +7,7 @@ import (
"net/http"
"os"
"os/exec"
+ "regexp"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
@@ -1028,7 +1029,7 @@ this is super secure
Eventually(sess).Should(gbytes.Say("the pipeline is currently paused. to unpause, either:"))
Eventually(sess).Should(gbytes.Say(" - run the unpause-pipeline command:"))
- Eventually(sess).Should(gbytes.Say(" %s -t %s unpause-pipeline -p awesome-pipeline", flyPath, targetName))
+ Eventually(sess).Should(gbytes.Say(" %s -t %s unpause-pipeline -p awesome-pipeline", regexp.QuoteMeta(flyPath), targetName))
Eventually(sess).Should(gbytes.Say(" - click play next to the pipeline in the web ui"))
<-sess.Exited
