mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-09-04 19:25:42 +00:00
Remove test scripts
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
for FILE in $(find target); do
|
|
||||||
curl localhost:3900/$FILE -X DELETE -H 'Host: garage'
|
|
||||||
done
|
|
||||||
|
|
||||||
@@ -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
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
for FILE in $(find target/debug/deps); do
|
|
||||||
echo -n "$FILE "
|
|
||||||
curl localhost:3900/$FILE -X PUT -H 'Host: garage' -H 'Content-Type: application/blob' --data-binary "@$FILE" || echo "ERROR"
|
|
||||||
done
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user