From 52ae5f885e9c72b7b1477156bdb946fc78294052 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 29 Jul 2014 14:41:21 -0700 Subject: Improve history robustness against corrupt files Fixes #1581 --- tests/history_sample_corrupt1 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/history_sample_corrupt1 (limited to 'tests/history_sample_corrupt1') diff --git a/tests/history_sample_corrupt1 b/tests/history_sample_corrupt1 new file mode 100644 index 00000000..3dfe694f --- /dev/null +++ b/tests/history_sample_corrupt1 @@ -0,0 +1,5 @@ +- cmd: this_command_is_ok +- cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: when: 1396531614 +- cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: - cmd: corrupt_prefix +- cmd: no_newline_at_end_of_file + when: 1403531898 \ No newline at end of file -- cgit v1.2.3