Delete uploaded test files after download, to fix history glitch

This commit is contained in:
timvisee 2019-03-03 15:51:19 +01:00
parent 3cbbc56ce8
commit b302128499
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -124,11 +124,13 @@ public-send-test:
- "head -c2m </dev/urandom >testfile"
- "./ffsend upload testfile -d=10 -p=secret -I"
- "./ffsend download $(./ffsend history -q) -p=secret -I -o=downloadfile"
- "./ffsend delete $(./ffsend history -q)"
- "cmp --silent ./testfile ./downloadfile || (echo ERROR: Downloaded file is different than original; exit 1)"
# Also test Firefox Send v3
- "./ffsend upload --host http://send2.dev.lcip.org/ testfile -d=10 -p=secret -I"
- "./ffsend download $(./ffsend history -q) -p=secret -I -o=downloadfile2"
- "./ffsend delete $(./ffsend history -q)"
- "cmp --silent ./testfile ./downloadfile2 || (echo ERROR: Downloaded file is different than original; exit 1)"
# Cargo crate release