mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 08:43:09 -03:00
Large set of changes to improve history atomicity on filesystems that do not support locking
Should address https://github.com/fish-shell/fish-shell/issues/685
This commit is contained in:
@@ -1668,13 +1668,13 @@ void history_tests_t::test_history_formats(void)
|
||||
|
||||
void history_tests_t::test_history_speed(void)
|
||||
{
|
||||
say(L"Testing history speed");
|
||||
say(L"Testing history speed (pid is %d)", getpid());
|
||||
history_t *hist = new history_t(L"speed_test");
|
||||
wcstring item = L"History Speed Test - X";
|
||||
|
||||
/* Test for 10 seconds */
|
||||
double start = timef();
|
||||
double end = start + 4;
|
||||
double end = start + 10;
|
||||
double stop = 0;
|
||||
size_t count = 0;
|
||||
for (;;)
|
||||
@@ -1715,7 +1715,6 @@ int main(int argc, char **argv)
|
||||
reader_init();
|
||||
env_init();
|
||||
|
||||
|
||||
test_format();
|
||||
test_escape();
|
||||
test_convert();
|
||||
|
||||
Reference in New Issue
Block a user