aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_3
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-17 15:31:45 +0200
committerThomas White <taw@physics.org>2018-05-17 15:39:22 +0200
commita9f48b6507b0326a34b84d7600f5eb791993eeb1 (patch)
treeb89b6e73477125336c35c6d7d9996bd8ebae7fd7 /tests/partialator_merge_check_3
parent87fd650abf11da75e7abd2ff90821cf7cb041b91 (diff)
parenta9f4c0ff4376267d90d6e8f9a0b6c012ec0588a4 (diff)
Merge branch 'tom/cmake'
Diffstat (limited to 'tests/partialator_merge_check_3')
-rwxr-xr-xtests/partialator_merge_check_35
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/partialator_merge_check_3 b/tests/partialator_merge_check_3
index 99e629d3..b24b6d53 100755
--- a/tests/partialator_merge_check_3
+++ b/tests/partialator_merge_check_3
@@ -48,10 +48,13 @@ Symmetry: 4
20 0 0 75.00 - 0.00 2
EOF
-src/partialator -i partialator_merge_check_3.stream \
+partialator -i partialator_merge_check_3.stream \
-o partialator_merge_check_3.hkl \
--model=unity --iterations=1 -y 4 --no-polarisation \
--no-free --no-logs
+if [ $? -ne 0 ]; then
+ exit 1
+fi
sed -n '/End\ of\ reflections/q;p' partialator_merge_check_3.hkl > temp.hkl
mv temp.hkl partialator_merge_check_3.hkl