Attempt to fix GitLab CI configuration

This commit is contained in:
timvisee 2018-11-21 22:12:22 +01:00
parent a91e82407e
commit 8b31aef887
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2

View file

@ -112,10 +112,10 @@ public-send-test:
before_script: []
script:
# Generate random file, upload/download and assert equality
- head -c1m </dev/urandom >testfile
- ./ffsend upload testfile -n testfile.bin -a -d 10 -p secret -I
- ./ffsend download $(./ffsend history -q) -p secret -I -o downloadfile
- cmp --silent ./testfile ./downloadfile || (echo ERROR: Downloaded file is different than original; exit 1)
- "head -c16m </dev/urandom >testfile"
- "./ffsend upload testfile -n testfile.bin -a -d 10 -p secret -I"
- "./ffsend download \$(./ffsend history -q) -p secret -I -o downloadfile"
- "cmp --silent ./testfile ./downloadfile || (echo ERROR: Downloaded file is different than original; exit 1)"
# Cargo crate release
crate: