aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/partialator_merge_check_1')
-rwxr-xr-xtests/partialator_merge_check_18
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/partialator_merge_check_1 b/tests/partialator_merge_check_1
index 2d888fd7..0123e391 100755
--- a/tests/partialator_merge_check_1
+++ b/tests/partialator_merge_check_1
@@ -44,14 +44,14 @@ EOF
partialator -i partialator_merge_check_1.stream \
-o partialator_merge_check_1.hkl \
- --model=unity --iterations=0 --no-scale --no-polarisation
+ --model=unity --iterations=0 --no-scale --no-polarisation \
+ --no-logs
if [ $? -ne 0 ]; then
exit 1
fi
-ex -c '/End of reflections/
-.,$d
-x' partialator_merge_check_1.hkl
+sed -n '/End of reflections/q;p' partialator_merge_check_1.hkl > temp.hkl
+mv temp.hkl partialator_merge_check_1.hkl
diff partialator_merge_check_1.hkl partialator_merge_check_1_ans.hkl
if [ $? -ne 0 ]; then
exit 1