aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-20 20:54:07 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-20 20:54:07 +0100
commit8c6961d0f9e8202b4000a845bfdf124e7ee499c8 (patch)
tree3629faf79f0eeb6552a30ca770e05167f7f5bd2f
parentc4bc2ce8cc4fe09cb10ca9d7a785333d58f3a1d0 (diff)
downloadgarage-8c6961d0f9e8202b4000a845bfdf124e7ee499c8.tar.gz
garage-8c6961d0f9e8202b4000a845bfdf124e7ee499c8.zip
Remove test scripts
-rwxr-xr-xtest_delete.sh6
-rwxr-xr-xtest_read.sh13
-rwxr-xr-xtest_write.sh7
3 files changed, 0 insertions, 26 deletions
diff --git a/test_delete.sh b/test_delete.sh
deleted file mode 100755
index 21054a0f..00000000
--- a/test_delete.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-for FILE in $(find target); do
- curl localhost:3900/$FILE -X DELETE -H 'Host: garage'
-done
-
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
-
diff --git a/test_write.sh b/test_write.sh
deleted file mode 100755
index 12a3cb50..00000000
--- a/test_write.sh
+++ /dev/null
@@ -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
-