tests: fix manpage refs.

This commit is contained in:
Juan RP 2019-06-20 11:02:40 +02:00
parent e7738555b2
commit b37dd066c9
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
10 changed files with 25 additions and 25 deletions

View File

@ -469,7 +469,7 @@ remove_with_revdeps_in_trans_recursive_body() {
atf_test_case remove_directory atf_test_case remove_directory
remove_directory_head() { remove_directory_head() {
atf_set "descr" "xbps-remove(8): remove nested directories" atf_set "descr" "xbps-remove(1): remove nested directories"
} }
remove_directory_body() { remove_directory_body() {

View File

@ -40,7 +40,7 @@ update_hold_body() {
atf_test_case update_pkg_with_held_dep atf_test_case update_pkg_with_held_dep
update_pkg_with_held_dep_head() { update_pkg_with_held_dep_head() {
atf_set "descr" "xbps-install(8): update packages with held dependency (issue #143)" atf_set "descr" "xbps-install(1): update packages with held dependency (issue #143)"
} }
update_pkg_with_held_dep_body() { update_pkg_with_held_dep_body() {

View File

@ -1,10 +1,10 @@
#! /usr/bin/env atf-sh #! /usr/bin/env atf-sh
# Test that xbps-create(8) works as expected. # Test that xbps-create(1) works as expected.
atf_test_case hardlinks_size atf_test_case hardlinks_size
hardlinks_size_head() { hardlinks_size_head() {
atf_set "descr" "xbps-create(8): installed-size behaviour with hardlinks" atf_set "descr" "xbps-create(1): installed-size behaviour with hardlinks"
} }
hardlinks_size_body() { hardlinks_size_body() {
@ -33,7 +33,7 @@ hardlinks_size_body() {
atf_test_case symlink_relative_target atf_test_case symlink_relative_target
symlink_relative_target_head() { symlink_relative_target_head() {
atf_set "descr" "xbps-create(8): relative symlinks in destdir must be absolute" atf_set "descr" "xbps-create(1): relative symlinks in destdir must be absolute"
} }
symlink_relative_target_body() { symlink_relative_target_body() {
@ -61,7 +61,7 @@ symlink_relative_target_body() {
atf_test_case symlink_relative_target_cwd atf_test_case symlink_relative_target_cwd
symlink_relative_target_cwd_head() { symlink_relative_target_cwd_head() {
atf_set "descr" "xbps-create(8): relative symlinks to cwd in destdir must be absolute" atf_set "descr" "xbps-create(1): relative symlinks to cwd in destdir must be absolute"
} }
symlink_relative_target_cwd_body() { symlink_relative_target_cwd_body() {
@ -89,7 +89,7 @@ symlink_relative_target_cwd_body() {
atf_test_case restore_mtime atf_test_case restore_mtime
restore_mtime_head() { restore_mtime_head() {
atf_set "descr" "xbps-create(8): restore file mtime as user" atf_set "descr" "xbps-create(1): restore file mtime as user"
} }
restore_mtime_body() { restore_mtime_body() {

View File

@ -3,7 +3,7 @@
atf_test_case install_existent atf_test_case install_existent
install_existent_head() { install_existent_head() {
atf_set "descr" "xbps-install(8): install multiple existent pkgs (issue #53)" atf_set "descr" "xbps-install(1): install multiple existent pkgs (issue #53)"
} }
install_existent_body() { install_existent_body() {
@ -35,7 +35,7 @@ install_existent_body() {
atf_test_case update_existent atf_test_case update_existent
updated_existent_head() { updated_existent_head() {
atf_set "descr" "xbps-install(8): update existent pkg" atf_set "descr" "xbps-install(1): update existent pkg"
} }
update_existent_body() { update_existent_body() {

View File

@ -3,7 +3,7 @@
atf_test_case revert_package atf_test_case revert_package
revert_package_head() { revert_package_head() {
atf_set "descr" "xbps-install(8): do a full workflow of reverting a package version" atf_set "descr" "xbps-install(1): do a full workflow of reverting a package version"
} }
revert_package_body() { revert_package_body() {

View File

@ -1,10 +1,10 @@
#! /usr/bin/env atf-sh #! /usr/bin/env atf-sh
# Test that xbps-query(8) -i works as expected # Test that xbps-query(1) -i works as expected
atf_test_case ignore_system atf_test_case ignore_system
ignore_system_head() { ignore_system_head() {
atf_set "descr" "xbps-query(8) -i: ignore repos defined in the system directory (sharedir/xbps.d)" atf_set "descr" "xbps-query(1) -i: ignore repos defined in the system directory (sharedir/xbps.d)"
} }
ignore_system_body() { ignore_system_body() {
@ -28,7 +28,7 @@ ignore_system_body() {
atf_test_case ignore_conf atf_test_case ignore_conf
ignore_conf_head() { ignore_conf_head() {
atf_set "descr" "xbps-query(8) -i: ignore repos defined in the configuration directory (xbps.d)" atf_set "descr" "xbps-query(1) -i: ignore repos defined in the configuration directory (xbps.d)"
} }
ignore_conf_body() { ignore_conf_body() {

View File

@ -1,11 +1,11 @@
#! /usr/bin/env atf-sh #! /usr/bin/env atf-sh
# Test that xbps-query(8) remote modes work as expected # Test that xbps-query(1) remote modes work as expected
# 1st test: test that -Rf does not segfault when binpkg is not available # 1st test: test that -Rf does not segfault when binpkg is not available
atf_test_case remote_files atf_test_case remote_files
remote_files_head() { remote_files_head() {
atf_set "descr" "xbps-query(8) -Rf: binpkg files test" atf_set "descr" "xbps-query(1) -Rf: binpkg files test"
} }
remote_files_body() { remote_files_body() {

View File

@ -1,11 +1,11 @@
#! /usr/bin/env atf-sh #! /usr/bin/env atf-sh
# Test that xbps-rindex(8) -a (add mode) works as expected. # Test that xbps-rindex(1) -a (add mode) works as expected.
# 1st test: test that update mode work as expected. # 1st test: test that update mode work as expected.
atf_test_case update atf_test_case update
update_head() { update_head() {
atf_set "descr" "xbps-rindex(8) -a: update test" atf_set "descr" "xbps-rindex(1) -a: update test"
} }
update_body() { update_body() {
@ -35,7 +35,7 @@ update_body() {
atf_test_case revert atf_test_case revert
revert_head() { revert_head() {
atf_set "descr" "xbps-rindex(8) -a: revert version test" atf_set "descr" "xbps-rindex(1) -a: revert version test"
} }
revert_body() { revert_body() {
@ -65,7 +65,7 @@ revert_body() {
atf_test_case stage atf_test_case stage
stage_head() { stage_head() {
atf_set "descr" "xbps-rindex(8) -a: commit package to stage test" atf_set "descr" "xbps-rindex(1) -a: commit package to stage test"
} }
stage_body() { stage_body() {
@ -111,7 +111,7 @@ stage_body() {
atf_test_case stage_resolve_bug atf_test_case stage_resolve_bug
stage_resolve_bug_head() { stage_resolve_bug_head() {
atf_set "descr" "xbps-rindex(8) -a: commit package to stage test" atf_set "descr" "xbps-rindex(1) -a: commit package to stage test"
} }
stage_resolve_bug_body() { stage_resolve_bug_body() {

View File

@ -1,11 +1,11 @@
#! /usr/bin/env atf-sh #! /usr/bin/env atf-sh
# Test that xbps-rindex(8) -c (clean mode) works as expected. # Test that xbps-rindex(1) -c (clean mode) works as expected.
# 1st test: make sure that nothing is removed if there are no changes. # 1st test: make sure that nothing is removed if there are no changes.
atf_test_case noremove atf_test_case noremove
noremove_head() { noremove_head() {
atf_set "descr" "xbps-rindex(8) -c: dont removing anything test" atf_set "descr" "xbps-rindex(1) -c: dont removing anything test"
} }
noremove_body() { noremove_body() {
@ -54,7 +54,7 @@ issue19_body() {
atf_test_case remove_from_stage atf_test_case remove_from_stage
remove_from_stage_head() { remove_from_stage_head() {
atf_set "descr" "xbps-rindex(8) -r: don't removing if there's staging test" atf_set "descr" "xbps-rindex(1) -r: don't removing if there's staging test"
} }
remove_from_stage_body() { remove_from_stage_body() {

View File

@ -1,11 +1,11 @@
#! /usr/bin/env atf-sh #! /usr/bin/env atf-sh
# Test that xbps-rindex(8) -c (clean mode) works as expected. # Test that xbps-rindex(1) -c (clean mode) works as expected.
# 1st test: make sure that nothing is removed if there are no changes. # 1st test: make sure that nothing is removed if there are no changes.
atf_test_case noremove_stage atf_test_case noremove_stage
noremove_stage_head() { noremove_stage_head() {
atf_set "descr" "xbps-rindex(8) -r: don't removing if there's staging test" atf_set "descr" "xbps-rindex(1) -r: don't removing if there's staging test"
} }
noremove_stage_body() { noremove_stage_body() {