aboutsummaryrefslogtreecommitdiff
path: root/test_delete.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-21 14:33:12 +0000
committerAlex Auvolat <alex@adnab.me>2020-04-21 14:33:12 +0000
commit0226561035bc90dbf45b993f755b1eee47c8a790 (patch)
tree0e16b7408e70ba1a0f461f8b47821588b3907181 /test_delete.sh
parentbe0a2bae8112de1d4674767c5c60e296c28e8532 (diff)
downloadgarage-0226561035bc90dbf45b993f755b1eee47c8a790.tar.gz
garage-0226561035bc90dbf45b993f755b1eee47c8a790.zip
Do not insert deletion marker if there is no object to delete
Diffstat (limited to 'test_delete.sh')
-rwxr-xr-xtest_delete.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_delete.sh b/test_delete.sh
index 5f929786..21054a0f 100755
--- a/test_delete.sh
+++ b/test_delete.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-for FILE in $(find target/debug/deps); do
- curl -v localhost:3900/$FILE -X DELETE -H 'Host: garage'
+for FILE in $(find target); do
+ curl localhost:3900/$FILE -X DELETE -H 'Host: garage'
done