aboutsummaryrefslogtreecommitdiff
path: root/tests/fourth_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/fourth_merge_check
parentf31e48d223e637f7ef155846f6e4b2cab2a7d4cc (diff)
Update tests to handle audit lines at end of reflection lists
Diffstat (limited to 'tests/fourth_merge_check')
-rwxr-xr-xtests/fourth_merge_check4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fourth_merge_check b/tests/fourth_merge_check
index bbe32b9b..1c738da7 100755
--- a/tests/fourth_merge_check
+++ b/tests/fourth_merge_check
@@ -23,10 +23,12 @@ cat > fourth_merge_check_ans.hkl << EOF
CrystFEL reflection list version 2.0
Symmetry: 1
h k l I phase sigma(I) nmeas
-End of reflections
EOF
src/process_hkl -i fourth_merge_check.stream -o fourth_merge_check.hkl
+ex -c '/End of reflections/
+.,$d
+x' fourth_merge_check.hkl
diff fourth_merge_check.hkl fourth_merge_check_ans.hkl
if [ $? -ne 0 ]; then
exit 1