From eb9adb6691443c80063e3e0f569d75d1f05894a3 Mon Sep 17 00:00:00 2001
From: Andre Maroneze <andre.maroneze@cea.fr>
Date: Thu, 12 Sep 2024 12:06:26 +0200
Subject: [PATCH] [dev] allow bin/test.sh to work with symbolic links

When using symbolic links for plug-in directories (e.g. for testing external
plug-ins), the '-L' flag (follow symbolic links) is necessary to avoid a syntax
error in the script.
---
 bin/test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/test.sh b/bin/test.sh
index 94ba6565c6..38c333097f 100755
--- a/bin/test.sh
+++ b/bin/test.sh
@@ -350,7 +350,7 @@ function CheckDuneFiles
         then
             GenerateDuneFiles
         else
-            DATE_TEST_MODIFICATION=$(find $TESTS -type f \
+            DATE_TEST_MODIFICATION=$(find -L $TESTS -type f \
                                     -not -path "*/result*/*" \
                                     -not -path "*/oracle*/*" \
                                     -exec stat --printf "%Y\n" {} \+ | \
-- 
GitLab