From c4a7aafe128a2550453bc8e091550ffa52ab2e43 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 17 Aug 2016 10:23:03 +0200 Subject: Update tests to handle audit lines at end of reflection lists --- tests/first_merge_check | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/first_merge_check') diff --git a/tests/first_merge_check b/tests/first_merge_check index 5cf7cc70..bb1484bd 100755 --- a/tests/first_merge_check +++ b/tests/first_merge_check @@ -39,10 +39,12 @@ CrystFEL reflection list version 2.0 Symmetry: 1 h k l I phase sigma(I) nmeas 1 0 0 150.03 - 35.36 2 -End of reflections EOF src/process_hkl -i first_merge_check.stream -o first_merge_check.hkl +ex -c '/End of reflections/ +.,$d +x' first_merge_check.hkl diff first_merge_check.hkl first_merge_check_ans.hkl if [ $? -ne 0 ]; then exit 1 -- cgit v1.2.3