chiark / gitweb /
tests: create_fake_android_home should create old build-tools version
[fdroidserver.git] / tests / run-tests
index 11aa2deb3a01e70462ba52e3147fab53b0d662a1..ec9e2edc940dad0127dd4a95ffd6a332306a5743 100755 (executable)
@@ -23,10 +23,12 @@ copy_apks_into_repo() {
     set -x
 }
 
+# keep this as an old version to test the automatic parsing of build-tools
+# verion numbers in `fdroid init`
 create_fake_android_home() {
     mkdir $1/build-tools
-    mkdir $1/build-tools/20.0.0
-    touch $1/build-tools/20.0.0/aapt
+    mkdir $1/build-tools/19.0.2
+    touch $1/build-tools/19.0.2/aapt
 }
 
 create_test_dir() {