diff options
Diffstat (limited to 'tests/second_merge_check')
-rwxr-xr-x | tests/second_merge_check | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/second_merge_check b/tests/second_merge_check index 2636ccdb..7a5c6134 100755 --- a/tests/second_merge_check +++ b/tests/second_merge_check @@ -45,9 +45,8 @@ process_hkl -y -1 -i second_merge_check.stream -o second_merge_check.hkl --no-po if [ $? -ne 0 ]; then exit 1; fi -ex -c '/End of reflections/ -.,$d -x' second_merge_check.hkl +sed -n '/End of reflections/q;p' second_merge_check.hkl > tempS.hkl +mv tempS.hkl second_merge_check.hkl diff second_merge_check.hkl second_merge_check_ans.hkl if [ $? -ne 0 ]; then exit 1 |