aboutsummaryrefslogtreecommitdiff
path: root/test_write.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_write.sh')
-rwxr-xr-xtest_write.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test_write.sh b/test_write.sh
new file mode 100755
index 00000000..2c06594d
--- /dev/null
+++ b/test_write.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for FILE in $(find target/debug/deps); do
+ echo
+ echo $FILE
+ curl -v localhost:3900/$FILE -X PUT -H 'Host: garage' -H 'Content-Type: application/blob' --data-binary "@$FILE"
+done
+