From 11c3cd731d1cfbcec703c7069f680b39c0484453 Mon Sep 17 00:00:00 2001 From: Parthasarathy Tirumalai Date: Wed, 1 Mar 2023 16:30:56 +0100 Subject: 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). --- tests/process_hkl_check_4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3