mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-18 20:50:10 +01:00
fix test suite for non-GNU: remove GNUisms
* date --date= does not exist on BSD
This commit is contained in:
parent
ba5136b684
commit
9f394ead4b
@ -620,8 +620,7 @@ echo "com.politedroid_4.apk com.politedroid 2016-01-01" > stats/known_apks.txt
|
|||||||
echo "com.politedroid_5.apk com.politedroid 2017-01-01" >> stats/known_apks.txt
|
echo "com.politedroid_5.apk com.politedroid 2017-01-01" >> stats/known_apks.txt
|
||||||
echo "com.politedroid_6.apk com.politedroid 2018-01-01" >> stats/known_apks.txt
|
echo "com.politedroid_6.apk com.politedroid 2018-01-01" >> stats/known_apks.txt
|
||||||
sed -i -e 's/ArchivePolicy:.*/ArchivePolicy: 1 versions/' metadata/com.politedroid.yml
|
sed -i -e 's/ArchivePolicy:.*/ArchivePolicy: 1 versions/' metadata/com.politedroid.yml
|
||||||
# Get the java ms timestamp from UTC time
|
timestamp=1483228800 # $(date -u --date=2017-01-01 +%s)000
|
||||||
timestamp=$(date -u --date=2017-01-01 +%s)000
|
|
||||||
|
|
||||||
$fdroid update --pretty --nosign
|
$fdroid update --pretty --nosign
|
||||||
grep -F "\"added\": $timestamp" repo/index-v1.json
|
grep -F "\"added\": $timestamp" repo/index-v1.json
|
||||||
|
Loading…
Reference in New Issue
Block a user