mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-14 09:08:44 +02:00
Add additional check against hishtory export to help debug control-r test failures that only reproduce in github actions
This commit is contained in:
@ -260,6 +260,7 @@ func captureTerminalOutputComplex(t testing.TB, captureConfig TmuxCaptureConfig)
|
||||
fullCommand += "\n"
|
||||
fullCommand += " tmux kill-session -t foo\n"
|
||||
testutils.TestLog(t, "Running tmux command: "+fullCommand)
|
||||
// TODO: Can this use the strict version instead?
|
||||
out, err := captureConfig.tester.RunInteractiveShellRelaxed(t, fullCommand)
|
||||
require.NoError(t, err)
|
||||
return strings.TrimSpace(out)
|
||||
|
Reference in New Issue
Block a user