diff options
Diffstat (limited to 'tests/fourth_merge_check')
-rwxr-xr-x | tests/fourth_merge_check | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/fourth_merge_check b/tests/fourth_merge_check index 418ce367..e55f020c 100755 --- a/tests/fourth_merge_check +++ b/tests/fourth_merge_check @@ -29,9 +29,8 @@ process_hkl -i fourth_merge_check.stream -o fourth_merge_check.hkl --no-polarisa if [ $? -ne 0 ]; then exit 1; fi -ex -c '/End of reflections/ -.,$d -x' fourth_merge_check.hkl +sed -n '/End of reflections/q;p' fourth_merge_check.hkl > tempf.hkl +mv tempf.hkl fourth_merge_check.hkl diff fourth_merge_check.hkl fourth_merge_check_ans.hkl if [ $? -ne 0 ]; then exit 1 |