change tests to not hardcode the local path to source on my laptop

This commit is contained in:
David Dworken
2022-04-09 11:55:00 -07:00
parent 9ce1de69b4
commit 9f20074a4f
2 changed files with 18 additions and 6 deletions

View File

@ -159,7 +159,6 @@ func TestIntegrationWithNewDevice(t *testing.T) {
func installHishtory(t *testing.T, userSecret string) string {
out := RunInteractiveBashCommands(t, `
gvm use go1.17
cd /home/david/code/hishtory
go build -o /tmp/client
/tmp/client install `+userSecret)
r := regexp.MustCompile(`Setting secret hishtory key to (.*)`)