(t *testing.T)
| 3243 | } |
| 3244 | |
| 3245 | func TestBashOrderingBug(t *testing.T) { |
| 3246 | markTestForSharding(t, 15) |
| 3247 | defer testutils.BackupAndRestore(t)() |
| 3248 | tester := bashTester{} |
| 3249 | installHishtory(t, tester, "") |
| 3250 | |
| 3251 | // Trigger a set of steps that cause a weird bug with bash as reported in github.com/ddworken/hishtory/issues/215 |
| 3252 | captureTerminalOutput(t, tester, []string{"command1 Enter", "command2 Enter", "C-R", "C-C", "command3 Enter", "command4 Enter"}) |
| 3253 | out := tester.RunInteractiveShell(t, `hishtory export | grep -v pipefail | grep -v '/tmp/client install'`) |
| 3254 | testutils.CompareGoldens(t, out, "TestBashOrderingBug-Export") |
| 3255 | } |
| 3256 | |
| 3257 | func TestChangeSyncingStatus(t *testing.T) { |
| 3258 | markTestForSharding(t, 15) |
nothing calls this directly
no test coverage detected