aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_3
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/partialator_merge_check_3
parentf31e48d223e637f7ef155846f6e4b2cab2a7d4cc (diff)
Update tests to handle audit lines at end of reflection lists
Diffstat (limited to 'tests/partialator_merge_check_3')
-rwxr-xr-xtests/partialator_merge_check_34
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/partialator_merge_check_3 b/tests/partialator_merge_check_3
index 4579d65a..08f9f481 100755
--- a/tests/partialator_merge_check_3
+++ b/tests/partialator_merge_check_3
@@ -46,7 +46,6 @@ Symmetry: 4
1 0 0 75.00 - 0.00 2
2 0 0 150.00 - 0.00 2
20 0 0 75.00 - 0.00 2
-End of reflections
EOF
src/partialator -i partialator_merge_check_3.stream \
@@ -54,6 +53,9 @@ src/partialator -i partialator_merge_check_3.stream \
--model=unity --iterations=1 -y 4 --no-polarisation \
--no-free
+ex -c '/End of reflections/
+.,$d
+x' partialator_merge_check_3.hkl
diff partialator_merge_check_3.hkl partialator_merge_check_3_ans.hkl
if [ $? -ne 0 ]; then
exit 1