aboutsummaryrefslogtreecommitdiff
path: root/tests/first_merge_check
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-08-17 10:23:03 +0200
committerThomas White <taw@physics.org>2016-08-17 10:23:03 +0200
commitc4a7aafe128a2550453bc8e091550ffa52ab2e43 (patch)
tree654cd958ee662bbb60cc83364c98501fb128576d /tests/first_merge_check
parentf31e48d223e637f7ef155846f6e4b2cab2a7d4cc (diff)
Update tests to handle audit lines at end of reflection lists
Diffstat (limited to 'tests/first_merge_check')
-rwxr-xr-xtests/first_merge_check4
1 files changed, 3 insertions, 1 deletions
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