Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Farley <[email protected]>
  • Loading branch information
adamfarley committed Dec 17, 2024
1 parent b5ff083 commit 864127d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/tests/functionLibraryTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,18 @@ function infoTests(){
testResults "infoTest 2" "$?"

# Clean up
# info "disable" "logging"
info "disable" "logging"
}

# checkFileSha
function checkFileShaTests(){
# Does it work when it should?
checkFileSha "${sampleFileSha}" "${scriptDir}/${sampleFileName}"
testResults "checkFileShaTest 1" "$?"
[[ -x ${scriptDir}/${sampleFileName} ]] && echo "D1: $(ls ${scriptDir})"
echo "D1: $(ls ${scriptDir})"
info "enable" "logging"
echo "checkFileSha ${sampleFileSha} ${scriptDir}/${sampleFileName}"
info "disable" "logging"

# Does it fail when we have the wrong sha?
checkFileSha "12345" "${scriptDir}/${sampleFileName}" &> /dev/null
Expand Down

0 comments on commit 864127d

Please sign in to comment.