aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_3
diff options
context:
space:
mode:
Diffstat (limited to 'tests/partialator_merge_check_3')
-rwxr-xr-xtests/partialator_merge_check_35
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/partialator_merge_check_3 b/tests/partialator_merge_check_3
index 08f9f481..5370472d 100755
--- a/tests/partialator_merge_check_3
+++ b/tests/partialator_merge_check_3
@@ -53,9 +53,8 @@ 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
+sed -n '/End\ of\ reflections/q;p' partialator_merge_check_3.hkl > temp.hkl
+mv temp.hkl partialator_merge_check_3.hkl
diff partialator_merge_check_3.hkl partialator_merge_check_3_ans.hkl
if [ $? -ne 0 ]; then
exit 1