Make test file on CI just 2MBs, also test Firefox Send v3 host
This commit is contained in:
parent
b8116c69f9
commit
0f123e4866
1 changed files with 6 additions and 1 deletions
|
@ -117,11 +117,16 @@ public-send-test:
|
|||
before_script: []
|
||||
script:
|
||||
# Generate random file, upload/download and assert equality
|
||||
- "head -c16m </dev/urandom >testfile"
|
||||
- "head -c2m </dev/urandom >testfile"
|
||||
- "./ffsend upload testfile -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)"
|
||||
|
||||
# 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"
|
||||
- "cmp --silent ./testfile ./downloadfile2 || (echo ERROR: Downloaded file is different than original; exit 1)"
|
||||
|
||||
# Cargo crate release
|
||||
crate:
|
||||
stage: release
|
||||
|
|
Loading…
Reference in a new issue