diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-11-20 20:54:07 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-11-20 20:54:07 +0100 |
commit | 8c6961d0f9e8202b4000a845bfdf124e7ee499c8 (patch) | |
tree | 3629faf79f0eeb6552a30ca770e05167f7f5bd2f | |
parent | c4bc2ce8cc4fe09cb10ca9d7a785333d58f3a1d0 (diff) | |
download | garage-8c6961d0f9e8202b4000a845bfdf124e7ee499c8.tar.gz garage-8c6961d0f9e8202b4000a845bfdf124e7ee499c8.zip |
Remove test scripts
-rwxr-xr-x | test_delete.sh | 6 | ||||
-rwxr-xr-x | test_read.sh | 13 | ||||
-rwxr-xr-x | test_write.sh | 7 |
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 - |