tests: try `fdroid update` after adding an APK to an existing repo
Yes, this includes a binary file, but it is only for the tests, and it is free software since I wrote it. The source is here: https://github.com/eighthave/urzip
This commit is contained in:
parent
ed7a0576c2
commit
0e2f4d54d0
|
@ -172,6 +172,26 @@ test -e repo/index.jar
|
|||
grep -F '<application id=' repo/index.xml
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
echo_header "setup a new repo from scratch, generate a keystore, then add APK and update"
|
||||
|
||||
REPOROOT=`create_test_dir`
|
||||
KEYSTORE=$REPOROOT/keystore.jks
|
||||
cd $REPOROOT
|
||||
$fdroid init --keystore $KEYSTORE
|
||||
test -e $KEYSTORE
|
||||
copy_apks_into_repo $REPOROOT
|
||||
$fdroid update --createmeta
|
||||
test -e repo/index.xml
|
||||
test -e repo/index.jar
|
||||
grep -F '<application id=' repo/index.xml
|
||||
cp $WORKSPACE/tests/urzip.apk $REPOROOT/
|
||||
$fdroid update --createmeta
|
||||
test -e repo/index.xml
|
||||
test -e repo/index.jar
|
||||
grep -F '<application id=' repo/index.xml
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
echo_header "setup a new repo from scratch with a HSM/smartcard"
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue