aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/partialator_merge_check_2')
-rwxr-xr-xtests/partialator_merge_check_25
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/partialator_merge_check_2 b/tests/partialator_merge_check_2
index 12e824d1..e8aff651 100755
--- a/tests/partialator_merge_check_2
+++ b/tests/partialator_merge_check_2
@@ -46,10 +46,13 @@ Symmetry: 1
19 0 0 75.00 - 0.00 2
EOF
-src/partialator -i partialator_merge_check_2.stream \
+partialator -i partialator_merge_check_2.stream \
-o partialator_merge_check_2.hkl \
--model=unity --iterations=1 --no-polarisation \
--no-free --no-logs
+if [ $? -ne 0 ]; then
+ exit 1
+fi
sed -n '/End of reflections/q;p' partialator_merge_check_2.hkl > temp.hkl
mv temp.hkl partialator_merge_check_2.hkl