diff options
author | Richard Hughes <richard@hughsie.com> | 2017-02-21 10:40:00 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-02-21 10:45:38 +0000 |
commit | 21a921643fc77c5dae7b92a2566e90531cef3806 (patch) | |
tree | 9236d647b27cc4469535c61652b4289d3f5f66d4 /data | |
parent | 557c0d7f33169f967bc8de4a43bc14c5d19e713e (diff) | |
download | appstream-glib-21a921643fc77c5dae7b92a2566e90531cef3806.tar.gz |
Fail to validate if the release children are in the wrong order
The most recent release has to be listed first in the file.
Check the version number and release timestamp to verify this.
Fixes: https://github.com/hughsie/appstream-glib/issues/153
Diffstat (limited to 'data')
-rw-r--r-- | data/tests/broken.appdata.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/tests/broken.appdata.xml b/data/tests/broken.appdata.xml index f470e72..259741c 100644 --- a/data/tests/broken.appdata.xml +++ b/data/tests/broken.appdata.xml @@ -29,6 +29,16 @@ <p>See: https://mail.xfce.org/pipermail/xfce-announce/2014-March/000318.html</p> </description> </release> + <release date="2014-12-15" version="0.6.2"> + <description> + <p>This is a newer release to the first entry in the file!</p> + </description> + </release> + <release date="2014-12-15" version="0.6.2"> + <description> + <p>This is a duplicate release on the same day!</p> + </description> + </release> <release> <description> <p>too little text.</p> |