aboutsummaryrefslogtreecommitdiff
path: root/test_read.sh
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2020-11-20 23:51:24 +0100
committerAlex <alex@adnab.me>2020-11-20 23:51:24 +0100
commit5dc304ac41c2ae0699fbdd56117b60c517a1ad39 (patch)
tree8eb7428d443a19dbe1d9995e833151eb79da74d2 /test_read.sh
parent2dc9a4802279a0b7e742f8cf2e2cc85956bb7f83 (diff)
parent98e20a5898602d7312093246cb32ef39e619bbc5 (diff)
downloadgarage-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-xtest_read.sh13
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
-