aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorParthasarathy Tirumalai <parthasarathy.tirumalai@desy.de>2023-03-01 16:30:56 +0100
committerThomas White <thomas.white@desy.de>2023-03-01 16:30:56 +0100
commit11c3cd731d1cfbcec703c7069f680b39c0484453 (patch)
tree95f0b4483fedbce9af79303520a233865c433cdd /tests
parent93ebd453e3736674027199f99814ad7918b163d0 (diff)
process_hkl_check_4: Change temporary filename
This test used "tempf.hkl", whereas process_hkl_check_1 used "tempF.hkl". This led to a race condition when running tests in parallel on an case-insensitive filesystem (Mac).
Diffstat (limited to 'tests')
-rwxr-xr-xtests/process_hkl_check_45
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/process_hkl_check_4 b/tests/process_hkl_check_4
index 4b2e2946..bfca3b80 100755
--- a/tests/process_hkl_check_4
+++ b/tests/process_hkl_check_4
@@ -46,8 +46,9 @@ $PROCESS_HKL -i process_hkl_check_4.stream -o process_hkl_check_4.hkl --no-polar
if [ $? -ne 0 ]; then
exit 1;
fi
-sed -n '/End of reflections/q;p' process_hkl_check_4.hkl > tempf.hkl
-mv tempf.hkl process_hkl_check_4.hkl
+
+sed -n '/End of reflections/q;p' process_hkl_check_4.hkl > tempU.hkl
+mv tempU.hkl process_hkl_check_4.hkl
diff process_hkl_check_4.hkl process_hkl_check_4_ans.hkl
if [ $? -ne 0 ]; then
exit 1