diff options
Diffstat (limited to 'tests/partialator_merge_check_2')
-rwxr-xr-x | tests/partialator_merge_check_2 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/partialator_merge_check_2 b/tests/partialator_merge_check_2 index 104f9fc4..9e7f51b3 100755 --- a/tests/partialator_merge_check_2 +++ b/tests/partialator_merge_check_2 @@ -51,9 +51,8 @@ src/partialator -i partialator_merge_check_2.stream \ --model=unity --iterations=1 --no-polarisation \ --no-free -ex -c '/End of reflections/ -.,$d -x' partialator_merge_check_2.hkl +sed -n '/End of reflections/q;p' partialator_merge_check_2.hkl > temp.hkl +mv temp.hkl partialator_merge_check_2.hkl diff partialator_merge_check_2.hkl partialator_merge_check_2_ans.hkl if [ $? -ne 0 ]; then exit 1 |