Skip to content

Commit

Permalink
tests: add test ensuring manual pages are shipped
Browse files Browse the repository at this point in the history
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
  • Loading branch information
zyga committed Jan 12, 2017
1 parent 6e022fe commit f1d63ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/main/manpages/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
summary: the essential manual pages are installed by the native package
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 f1d63ef

Please sign in to comment.