mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-29 08:21:41 +02:00
Add debugging information for macos tests
This commit is contained in:
parent
6db8044bec
commit
99b51a356e
@ -874,6 +874,10 @@ func testHishtoryBackgroundSaving(t *testing.T, tester shellTester) {
|
||||
// Setup
|
||||
defer shared.BackupAndRestore(t)()
|
||||
|
||||
p, err := exec.LookPath("go")
|
||||
shared.Check(t, err)
|
||||
fmt.Printf("TODO: DDWORKENDEBUG: go=%s path=%s\n", p, os.Getenv("PATH"))
|
||||
|
||||
// Test install with an unset HISHTORY_TEST var so that we save in the background (this is likely to be flakey!)
|
||||
out := tester.RunInteractiveShell(t, `unset HISHTORY_TEST
|
||||
CGO_ENABLED=0 go build -o /tmp/client
|
||||
|
Loading…
x
Reference in New Issue
Block a user