aboutsummaryrefslogtreecommitdiff
path: root/test_write.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-19 17:59:59 +0000
committerAlex Auvolat <alex@adnab.me>2020-04-19 17:59:59 +0000
commitea75564851851b969ef23797537c813ba607b84a (patch)
treed5bdb1a19a546cbbd92e35dbd496acfd16522dd9 /test_write.sh
parente325c7f47a9ad7777358b669f62a7c613f676ecd (diff)
downloadgarage-ea75564851851b969ef23797537c813ba607b84a.tar.gz
garage-ea75564851851b969ef23797537c813ba607b84a.zip
More aggressive sync timings & improve other stuff
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
+