From: Hans-Christoph Steiner Date: Fri, 30 May 2014 19:53:11 +0000 (-0400) Subject: test: make sure `fdroid update -c` creates a full index.xml X-Git-Tag: 0.2~42^2~12 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ed7a0576c2109fd8f561d2afaf8c0b247c0b1d56;p=fdroidserver.git test: make sure `fdroid update -c` creates a full index.xml Previously, `fdroid update -c` would only create the new metadata, but would not add the new apps/apks to the repo. That required a second run of `fdroid update`. This has been fixes, so this test makes sure it stays fixed, in a very generic way. --- diff --git a/tests/run-tests b/tests/run-tests index f3e9a3e7..acf31774 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -51,8 +51,8 @@ REPOROOT=`create_test_dir` cd $REPOROOT $fdroid init copy_apks_into_repo $REPOROOT -$fdroid update -c -$fdroid update +$fdroid update --createmeta +grep -F '