From 850f1d204f7737c682b31401f3d279b3783f20fa Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Tue, 17 Dec 2024 13:15:14 +0000 Subject: [PATCH] debug Signed-off-by: Adam Farley --- lib/tests/functionLibraryTests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/functionLibraryTests.sh b/lib/tests/functionLibraryTests.sh index c2781bc90..e0e77cb86 100644 --- a/lib/tests/functionLibraryTests.sh +++ b/lib/tests/functionLibraryTests.sh @@ -20,7 +20,7 @@ scriptDir="${scriptLocation%/*}/" [[ ! "${scriptDir}" =~ .*tests/$ ]] && echo "D2: ${scriptDir}" [[ ! -x "${scriptDir}" || ! "${scriptDir}" =~ .*tests/$ ]] && echo "D3: ${scriptDir}" [[ ! -x "${scriptDir}" || ! "${scriptDir}" =~ .*tests/$ ]] && scriptDir="./" -[[ ! -x "${scriptDir}/../functionLibrary.sh" ]] && echo "D4: ${scriptDir} $(ls ..)" +[[ ! -x "${scriptDir}/../functionLibrary.sh" ]] && echo "D4: ${scriptDir} $(ls ${scriptDir}/..)" [[ ! -x "${scriptDir}/../functionLibrary.sh" ]] && echo "Error: Please launch this script with a full path, or from within the test directory." && exit 1 source "${scriptDir}/../functionLibrary.sh"