22 lines
468 B
Bash
Executable File
22 lines
468 B
Bash
Executable File
#!/bin/bash
|
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
|
|
|
expected_manpages=(
|
|
'capsh(1)'
|
|
'libcap(3)' # there are many more but if these are present then it verifies it because of the glob install
|
|
'libpsx(3)'
|
|
'getcap(8)'
|
|
'getpcaps(8)'
|
|
'setcap(8)'
|
|
'captree(8)'
|
|
|
|
)
|
|
|
|
rlJournalStart
|
|
for page in "${expected_manpages[@]}"; do
|
|
rlPhaseStartTest "test ${page}"
|
|
rlRun "man --pager=cat '${page}'"
|
|
rlPhaseEnd
|
|
done
|
|
rlJournalEnd
|