aboutsummaryrefslogtreecommitdiff
path: root/tests/second_merge_check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/second_merge_check')
-rwxr-xr-xtests/second_merge_check5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/second_merge_check b/tests/second_merge_check
index 1283cb0a..2636ccdb 100755
--- a/tests/second_merge_check
+++ b/tests/second_merge_check
@@ -41,7 +41,10 @@ Symmetry: -1
1 0 0 150.00 - 35.36 2
EOF
-src/process_hkl -y -1 -i second_merge_check.stream -o second_merge_check.hkl --no-polarisation
+process_hkl -y -1 -i second_merge_check.stream -o second_merge_check.hkl --no-polarisation
+if [ $? -ne 0 ]; then
+ exit 1;
+fi
ex -c '/End of reflections/
.,$d
x' second_merge_check.hkl