aboutsummaryrefslogblamecommitdiff
path: root/test_write.sh
blob: 12a3cb500d39d3577c6e4111173bfe60bb458ca0 (plain) (tree)
1
2
3
4
5
6
7

                                          
                                                                                                                                     
    
#!/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