aboutsummaryrefslogtreecommitdiff
path: root/test_write.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_write.sh')
-rwxr-xr-xtest_write.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/test_write.sh b/test_write.sh
index 2c06594d..12a3cb50 100755
--- a/test_write.sh
+++ b/test_write.sh
@@ -1,8 +1,7 @@
#!/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"
+ echo -n "$FILE "
+ curl localhost:3900/$FILE -X PUT -H 'Host: garage' -H 'Content-Type: application/blob' --data-binary "@$FILE" || echo "ERROR"
done