diff options
Diffstat (limited to 'unit/atf-src/tools/sample')
-rw-r--r-- | unit/atf-src/tools/sample/atf-run.hooks | 23 | ||||
-rw-r--r-- | unit/atf-src/tools/sample/common.conf | 11 |
2 files changed, 34 insertions, 0 deletions
diff --git a/unit/atf-src/tools/sample/atf-run.hooks b/unit/atf-src/tools/sample/atf-run.hooks new file mode 100644 index 0000000..86d187d --- /dev/null +++ b/unit/atf-src/tools/sample/atf-run.hooks @@ -0,0 +1,23 @@ +# +# Definition of custom hooks for atf-run. +# +# Uncomment any hooks that you want to override and add your own code +# to them. Some sample calls are included in them. Be very careful +# with what you print from here. +# +# See atf-run(1) for more details. +# + +#info_start_hook() +#{ +# default_info_start_hook "${@}" +# +# atf_tps_writer_info "extra.info" "An example" +#} + +#info_end_hook() +#{ +# default_info_end_hook "${@}" +# +# atf_tps_writer_info "extra.info" "An example" +#} diff --git a/unit/atf-src/tools/sample/common.conf b/unit/atf-src/tools/sample/common.conf new file mode 100644 index 0000000..464ee96 --- /dev/null +++ b/unit/atf-src/tools/sample/common.conf @@ -0,0 +1,11 @@ +Content-Type: application/X-atf-config; version="1" + +# +# Sample configuration file for properties affecting all test suites. +# + +# When running the test suite as root, some tests require to switch to +# an unprivileged user to perform extra checks. Set this variable to +# the user you want to use in those cases. If not set, those tests will +# be skipped. +#unprivileged-user = "_atf" |