Skip to content

Commit

Permalink
Merge pull request #2623 from zyga/fix-missing-manpages
Browse files Browse the repository at this point in the history
tests: add test ensuring manual pages are shipped
  • Loading branch information
zyga committed Jan 16, 2017
2 parents da2ebd1 + c133927 commit aba0955
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/main/manpages/task.yaml
@@ -0,0 +1,11 @@
summary: the essential manual pages are installed by the native package
# core systems don't ship man or manual pages
systems: [-ubuntu-core-16-64, -ubuntu-core-16-64-fixme, -ubuntu-core-16-arm-32, -ubuntu-core-16-arm-64]
execute: |
for manpage in snap snap-confine snap-discard-ns ubuntu-core-launcher; do
if ! man --what $manpage; then
echo "Expected to see manual page for $manpage"
exit 1
fi
done
# TODO: add manual pages for snapctl, snap-exec and snapd

0 comments on commit aba0955

Please sign in to comment.