diff options
author | Alex <alex@adnab.me> | 2020-11-20 23:51:24 +0100 |
---|---|---|
committer | Alex <alex@adnab.me> | 2020-11-20 23:51:24 +0100 |
commit | 5dc304ac41c2ae0699fbdd56117b60c517a1ad39 (patch) | |
tree | 8eb7428d443a19dbe1d9995e833151eb79da74d2 /test_read.sh | |
parent | 2dc9a4802279a0b7e742f8cf2e2cc85956bb7f83 (diff) | |
parent | 98e20a5898602d7312093246cb32ef39e619bbc5 (diff) | |
download | garage-5dc304ac41c2ae0699fbdd56117b60c517a1ad39.tar.gz garage-5dc304ac41c2ae0699fbdd56117b60c517a1ad39.zip |
Merge pull request 'Add more scripts to ease Garage's development' (#17) from feature/new-script into master
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/17
Diffstat (limited to 'test_read.sh')
-rwxr-xr-x | test_read.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test_read.sh b/test_read.sh deleted file mode 100755 index 5ca3fed3..00000000 --- a/test_read.sh +++ /dev/null @@ -1,13 +0,0 @@ - -#!/bin/bash - -for FILE in $(find target/debug/deps); do - SHA2=$(curl localhost:3900/$FILE -H 'Host: garage' 2>/dev/null | sha256sum | cut -d ' ' -f 1) - SHA2REF=$(sha256sum $FILE | cut -d ' ' -f 1) - if [ "$SHA2" = "$SHA2REF" ]; then - echo "OK $FILE" - else - echo "!!!! ERROR $FILE !!!!" - fi -done - |