From 09ea6be493226b2627467e934a0726928664bfaa Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sat, 12 Nov 2022 17:05:50 -0800 Subject: [PATCH] Prefix install with a space so it doesn't get logged by hishtory --- client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client_test.go b/client/client_test.go index 00050bc..fc59b42 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -301,7 +301,7 @@ yes | hishtory init `+userSecret) } func installHishtory(t *testing.T, tester shellTester, userSecret string) string { - out := tester.RunInteractiveShell(t, `/tmp/client install `+userSecret) + out := tester.RunInteractiveShell(t, ` /tmp/client install `+userSecret) r := regexp.MustCompile(`Setting secret hishtory key to (.*)`) matches := r.FindStringSubmatch(out) if len(matches) != 2 {