chiark / gitweb /
add test for index-v1.json
[fdroidserver.git] / tests / run-tests
index b33fa31931157a34ac09def5023c238f3fbd9331..57186855252668e906820b4fb2da03054cab0baa 100755 (executable)
@@ -254,6 +254,8 @@ fi
 # we can't easily reproduce the timestamps for things, so just hardcode them
 $sed -i.tmp -e 's,timestamp="[0-9]*",timestamp="1480431575",' repo/index.xml
 diff -uw $WORKSPACE/tests/repo/index.xml repo/index.xml
+sed -i --expression='s,"timestamp": [0-9]*,"timestamp": 1502845383782,' repo/index-v1.json
+diff -uw $WORKSPACE/tests/repo/index-v1.json repo/index-v1.json
 
 
 #------------------------------------------------------------------------------#