mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-21 13:01:16 +01:00
Another attempt at fixing broken tests with presaving
This commit is contained in:
parent
b943ae7df4
commit
dcf714e05c
@ -1956,7 +1956,7 @@ func testControlR(t *testing.T, tester shellTester, shellName string, onlineStat
|
|||||||
// Disable recording so that all our testing commands don't get recorded
|
// Disable recording so that all our testing commands don't get recorded
|
||||||
_, _ = tester.RunInteractiveShellRelaxed(t, ` hishtory disable`)
|
_, _ = tester.RunInteractiveShellRelaxed(t, ` hishtory disable`)
|
||||||
_, _ = tester.RunInteractiveShellRelaxed(t, `hishtory config-set enable-control-r true`)
|
_, _ = tester.RunInteractiveShellRelaxed(t, `hishtory config-set enable-control-r true`)
|
||||||
_ = tester.RunInteractiveShell(t, `rm ~/.bash_history`)
|
tester.RunInteractiveShell(t, ` HISHTORY_REDACT_FORCE=true hishtory redact set emo pipefail`)
|
||||||
|
|
||||||
// Insert a few hishtory entries that we'll use for testing into an empty DB
|
// Insert a few hishtory entries that we'll use for testing into an empty DB
|
||||||
db := hctx.GetDb(hctx.MakeContext())
|
db := hctx.GetDb(hctx.MakeContext())
|
||||||
|
Loading…
Reference in New Issue
Block a user