From b5ff08305f251955a7f8944da3cc0213bbf76868 Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Tue, 17 Dec 2024 13:43:37 +0000 Subject: [PATCH] debug Signed-off-by: Adam Farley --- lib/tests/functionLibraryTests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tests/functionLibraryTests.sh b/lib/tests/functionLibraryTests.sh index 6e44cdc69..b6c05d396 100644 --- a/lib/tests/functionLibraryTests.sh +++ b/lib/tests/functionLibraryTests.sh @@ -59,6 +59,7 @@ function checkFileShaTests(){ # Does it work when it should? checkFileSha "${sampleFileSha}" "${scriptDir}/${sampleFileName}" testResults "checkFileShaTest 1" "$?" + [[ -x ${scriptDir}/${sampleFileName} ]] && echo "D1: $(ls ${scriptDir})" echo "checkFileSha ${sampleFileSha} ${scriptDir}/${sampleFileName}" # Does it fail when we have the wrong sha?