aboutsummaryrefslogtreecommitdiff
path: root/tests/first_merge_check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/first_merge_check')
-rwxr-xr-xtests/first_merge_check5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/first_merge_check b/tests/first_merge_check
index 4e24a0ad..3b1cd60f 100755
--- a/tests/first_merge_check
+++ b/tests/first_merge_check
@@ -45,9 +45,8 @@ process_hkl -i first_merge_check.stream -o first_merge_check.hkl --no-polarisati
if [ $? -ne 0 ]; then
exit 1;
fi
-ex -c '/End of reflections/
-.,$d
-x' first_merge_check.hkl
+sed -n '/End of reflections/q;p' first_merge_check.hkl > tempF.hkl
+mv tempF.hkl first_merge_check.hkl
diff first_merge_check.hkl first_merge_check_ans.hkl
if [ $? -ne 0 ]; then
exit 1