1b0d29bc4SBrooks Davis.\" Copyright 2011 The Kyua Authors. 2b0d29bc4SBrooks Davis.\" All rights reserved. 3b0d29bc4SBrooks Davis.\" 4b0d29bc4SBrooks Davis.\" Redistribution and use in source and binary forms, with or without 5b0d29bc4SBrooks Davis.\" modification, are permitted provided that the following conditions are 6b0d29bc4SBrooks Davis.\" met: 7b0d29bc4SBrooks Davis.\" 8b0d29bc4SBrooks Davis.\" * Redistributions of source code must retain the above copyright 9b0d29bc4SBrooks Davis.\" notice, this list of conditions and the following disclaimer. 10b0d29bc4SBrooks Davis.\" * Redistributions in binary form must reproduce the above copyright 11b0d29bc4SBrooks Davis.\" notice, this list of conditions and the following disclaimer in the 12b0d29bc4SBrooks Davis.\" documentation and/or other materials provided with the distribution. 13b0d29bc4SBrooks Davis.\" * Neither the name of Google Inc. nor the names of its contributors 14b0d29bc4SBrooks Davis.\" may be used to endorse or promote products derived from this software 15b0d29bc4SBrooks Davis.\" without specific prior written permission. 16b0d29bc4SBrooks Davis.\" 17b0d29bc4SBrooks Davis.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18b0d29bc4SBrooks Davis.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19b0d29bc4SBrooks Davis.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20b0d29bc4SBrooks Davis.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21b0d29bc4SBrooks Davis.\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22b0d29bc4SBrooks Davis.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23b0d29bc4SBrooks Davis.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24b0d29bc4SBrooks Davis.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25b0d29bc4SBrooks Davis.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26b0d29bc4SBrooks Davis.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27b0d29bc4SBrooks Davis.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28b0d29bc4SBrooks Davis.Dd May 12, 2015 29b0d29bc4SBrooks Davis.Dt KYUA 1 30b0d29bc4SBrooks Davis.Os 31b0d29bc4SBrooks Davis.Sh NAME 32b0d29bc4SBrooks Davis.Nm kyua 33b0d29bc4SBrooks Davis.Nd Testing framework for infrastructure software 34b0d29bc4SBrooks Davis.Sh SYNOPSIS 35b0d29bc4SBrooks Davis.Nm 36b0d29bc4SBrooks Davis.Op Fl -config Ar file 37b0d29bc4SBrooks Davis.Op Fl -logfile Ar file 38b0d29bc4SBrooks Davis.Op Fl -loglevel Ar level 39b0d29bc4SBrooks Davis.Op Fl -variable Ar name=value 40b0d29bc4SBrooks Davis.Ar command 41b0d29bc4SBrooks Davis.Op Ar command_options 42b0d29bc4SBrooks Davis.Op Ar command_arguments 43b0d29bc4SBrooks Davis.Sh DESCRIPTION 44b0d29bc4SBrooks Davis.Em If you are here looking for details on how to run the test suite in 45b0d29bc4SBrooks Davis.Pa /usr/tests 46b0d29bc4SBrooks Davis.Em ( or 47b0d29bc4SBrooks Davis.Pa __TESTSDIR__ ) , 48b0d29bc4SBrooks Davis.Em please start by reading the 49b0d29bc4SBrooks Davis.Xr tests 7 50b0d29bc4SBrooks Davis.Em manual page that should be supplied by your system . 51b0d29bc4SBrooks Davis.Pp 52b0d29bc4SBrooks DavisKyua is a testing framework for infrastructure software, originally 53b0d29bc4SBrooks Davisdesigned to equip BSD-based operating systems with a test suite. 54b0d29bc4SBrooks DavisThis means that Kyua is lightweight and simple, and that Kyua integrates well 55b0d29bc4SBrooks Daviswith various build systems and continuous integration frameworks. 56b0d29bc4SBrooks Davis.Pp 57b0d29bc4SBrooks DavisKyua features an expressive test suite definition language, a safe 58b0d29bc4SBrooks Davisruntime engine for test suites and a powerful report generation engine. 59b0d29bc4SBrooks Davis.Pp 60b0d29bc4SBrooks DavisKyua is for both developers and users, from the developer applying a 61b0d29bc4SBrooks Davissimple fix to a library to the system administrator deploying a new 62b0d29bc4SBrooks Davisrelease on a production machine. 63b0d29bc4SBrooks Davis.Pp 64b0d29bc4SBrooks DavisKyua is able to execute test programs written with a plethora of testing 65b0d29bc4SBrooks Davislibraries and languages. 66b0d29bc4SBrooks DavisThe test program library of choice is ATF, which 67b0d29bc4SBrooks Davis.Nm Ns 's 68b0d29bc4SBrooks Davisdesign originated from. 69b0d29bc4SBrooks DavisHowever, framework-less test programs and TAP-compliant test programs can also 70b0d29bc4SBrooks Davisbe executed through 71b0d29bc4SBrooks Davis.Nm 72b0d29bc4SBrooks Davis.Ss Overview 73b0d29bc4SBrooks DavisAs can be observed in the synopsis, the interface of 74b0d29bc4SBrooks Davis.Nm 75b0d29bc4SBrooks Davisimplements a common subcommand-based interface. 76b0d29bc4SBrooks DavisThe arguments to the tool specify, in this order: a set of common options 77b0d29bc4SBrooks Davisthat all the commands accept, a required 78b0d29bc4SBrooks Davis.Ar command 79b0d29bc4SBrooks Davisname that specifies what 80b0d29bc4SBrooks Davis.Nm 81b0d29bc4SBrooks Davisshould do, and 82b0d29bc4SBrooks Davisa set of possibly-optional 83b0d29bc4SBrooks Davis.Ar command_options 84b0d29bc4SBrooks Davisand 85b0d29bc4SBrooks Davis.Ar command_arguments 86b0d29bc4SBrooks Davisthat are specific to the chosen command. 87b0d29bc4SBrooks Davis.Pp 88b0d29bc4SBrooks DavisThe following options are recognized by all the commands. 89b0d29bc4SBrooks DavisKeep in mind that these must always be specified before the command name. 90b0d29bc4SBrooks Davis.Bl -tag -width XX 91b0d29bc4SBrooks Davis.It Fl -config Ar path , Fl c Ar path 92b0d29bc4SBrooks DavisSpecifies the configuration file to process, which must be in the format 93b0d29bc4SBrooks Davisdescribed in 94b0d29bc4SBrooks Davis.Xr kyua.conf 5 . 95b0d29bc4SBrooks DavisThe special value 96b0d29bc4SBrooks Davis.Sq none 97b0d29bc4SBrooks Davisexplicitly disables the loading of any configuration file. 98b0d29bc4SBrooks Davis.Pp 99b0d29bc4SBrooks DavisDefaults to 100b0d29bc4SBrooks Davis.Pa ~/.kyua/kyua.conf 101b0d29bc4SBrooks Davisif it exists, otherwise to 102b0d29bc4SBrooks Davis.Pa __CONFDIR__/kyua.conf 103b0d29bc4SBrooks Davisif it exists, 104b0d29bc4SBrooks Davisor else to 105b0d29bc4SBrooks Davis.Sq none . 106b0d29bc4SBrooks Davis.It Fl -logfile Ar path 107b0d29bc4SBrooks DavisSpecifies the location of the file to which 108b0d29bc4SBrooks Davis.Nm 109b0d29bc4SBrooks Daviswill log run time events useful for postmortem debugging. 110b0d29bc4SBrooks Davis.Pp 111b0d29bc4SBrooks DavisThe default depends on different environment variables as described in 112b0d29bc4SBrooks Davis.Sx Logging , 113b0d29bc4SBrooks Davisbut typically the file will be stored within the user's home directory. 114b0d29bc4SBrooks Davis.It Fl -loglevel Ar level 115b0d29bc4SBrooks DavisSpecifies the maximum logging level to record in the log file. 116b0d29bc4SBrooks DavisSee 117b0d29bc4SBrooks Davis.Sx Logging 118b0d29bc4SBrooks Davisfor more details. 119b0d29bc4SBrooks Davis.Pp 120b0d29bc4SBrooks DavisThe default is 121b0d29bc4SBrooks Davis.Sq info . 122b0d29bc4SBrooks Davis.It Fl -variable Ar name=value , Fl v Ar name=value 123b0d29bc4SBrooks DavisSets the 124b0d29bc4SBrooks Davis.Ar name 125b0d29bc4SBrooks Davisconfiguration variable to 126b0d29bc4SBrooks Davis.Ar value . 127b0d29bc4SBrooks DavisThe values set through this option have preference over the values set in the 128b0d29bc4SBrooks Davisconfiguration file. 129b0d29bc4SBrooks Davis.Pp 130b0d29bc4SBrooks DavisThe specified variable can either be a builtin variable or a test-suite 131b0d29bc4SBrooks Davisspecific variable. 132b0d29bc4SBrooks DavisSee 133b0d29bc4SBrooks Davis.Xr kyua.conf 5 134b0d29bc4SBrooks Davisfor more details. 135b0d29bc4SBrooks Davis.El 136b0d29bc4SBrooks Davis.Pp 137b0d29bc4SBrooks DavisThe following commands are generic and do not have any relation to the execution 138b0d29bc4SBrooks Davisof tests or the inspection of their results: 139b0d29bc4SBrooks Davis.Bl -tag -width reportXjunitXX -offset indent 140b0d29bc4SBrooks Davis.It Ar about 141b0d29bc4SBrooks DavisShows general program information. 142b0d29bc4SBrooks DavisSee 143b0d29bc4SBrooks Davis.Xr kyua-about 1 . 144b0d29bc4SBrooks Davis.It Ar config 145b0d29bc4SBrooks DavisInspects the values of the configuration variables. 146b0d29bc4SBrooks DavisSee 147b0d29bc4SBrooks Davis.Xr kyua-config 1 . 148b0d29bc4SBrooks Davis.It Ar db-exec 149b0d29bc4SBrooks DavisExecutes an arbitrary SQL statement on a results file and prints the 150b0d29bc4SBrooks Davisresulting table. 151b0d29bc4SBrooks DavisSee 152b0d29bc4SBrooks Davis.Xr kyua-db-exec 1 . 153b0d29bc4SBrooks Davis.It Ar help 154b0d29bc4SBrooks DavisShows usage information. 155b0d29bc4SBrooks DavisSee 156b0d29bc4SBrooks Davis.Xr kyua-help 1 . 157b0d29bc4SBrooks Davis.El 158b0d29bc4SBrooks Davis.Pp 159b0d29bc4SBrooks DavisThe following commands are used to generate reports based on the data previously 160b0d29bc4SBrooks Davisrecorded in a results file: 161b0d29bc4SBrooks Davis.Bl -tag -width reportXjunitXX -offset indent 162b0d29bc4SBrooks Davis.It Ar report 163b0d29bc4SBrooks DavisGenerates a plaintext report. 164b0d29bc4SBrooks DavisCombined with its 165b0d29bc4SBrooks Davis.Fl -verbose 166b0d29bc4SBrooks Davisflag and the ability to only display specific test cases, this command can also 167b0d29bc4SBrooks Davisbe used to debug test failures post-facto on the console. 168b0d29bc4SBrooks DavisSee 169b0d29bc4SBrooks Davis.Xr kyua-report 1 . 170b0d29bc4SBrooks Davis.It Ar report-html 171b0d29bc4SBrooks DavisGenerates an HTML report. 172b0d29bc4SBrooks DavisSee 173b0d29bc4SBrooks Davis.Xr kyua-report-html 1 . 174b0d29bc4SBrooks Davis.It Ar report-junit 175b0d29bc4SBrooks DavisGenerates a JUnit report. 176b0d29bc4SBrooks DavisSee 177b0d29bc4SBrooks Davis.Xr kyua-report-junit 1 . 178b0d29bc4SBrooks Davis.El 179b0d29bc4SBrooks Davis.Pp 180b0d29bc4SBrooks DavisThe following commands are used to interact with a test suite: 181b0d29bc4SBrooks Davis.Bl -tag -width reportXjunitXX -offset indent 182b0d29bc4SBrooks Davis.It Ar debug 183b0d29bc4SBrooks DavisExecutes a single test case in a controlled environment for debugging purposes. 184b0d29bc4SBrooks DavisSee 185b0d29bc4SBrooks Davis.Xr kyua-debug 1 . 186b0d29bc4SBrooks Davis.It Ar list 187b0d29bc4SBrooks DavisLists test cases defined in a test suite by a 188b0d29bc4SBrooks Davis.Xr kyuafile 5 189b0d29bc4SBrooks Davisand, optionally, displays their metadata. 190b0d29bc4SBrooks DavisSee 191b0d29bc4SBrooks Davis.Xr kyua-list 1 . 192b0d29bc4SBrooks Davis.It Ar test 193b0d29bc4SBrooks DavisRuns tests defined in a test suite by a 194b0d29bc4SBrooks Davis.Xr kyuafile 5 . 195b0d29bc4SBrooks DavisSee 196b0d29bc4SBrooks Davis.Xr kyua-test 1 . 197b0d29bc4SBrooks Davis.El 198b0d29bc4SBrooks Davis.Ss Logging 199b0d29bc4SBrooks Davis.Nm 200b0d29bc4SBrooks Davishas a logging facility that collects all kinds of events at run time. 201b0d29bc4SBrooks DavisThese events are always logged to a file so that the log is available when 202b0d29bc4SBrooks Davisit is most needed: right after a non-reproducible problem happens. 203b0d29bc4SBrooks DavisThe only way to disable logging is by sending the log to 204b0d29bc4SBrooks Davis.Pa /dev/null . 205b0d29bc4SBrooks Davis.Pp 206b0d29bc4SBrooks DavisThe location of the log file can be manually specified with the 207b0d29bc4SBrooks Davis.Fl -logfile 208b0d29bc4SBrooks Davisoption, which applies to all commands. 209b0d29bc4SBrooks DavisIf no file is explicitly specified, the location of the log files is chosen in 210b0d29bc4SBrooks Davisthis order: 211b0d29bc4SBrooks Davis.Bl -enum -offset indent 212b0d29bc4SBrooks Davis.It 213b0d29bc4SBrooks Davis.Pa ${HOME}/.kyua/logs/ 214b0d29bc4SBrooks Davisif 215b0d29bc4SBrooks Davis.Va HOME 216b0d29bc4SBrooks Davisis defined. 217b0d29bc4SBrooks Davis.It 218b0d29bc4SBrooks Davis.Pa ${TMPDIR}/ 219b0d29bc4SBrooks Davisif 220b0d29bc4SBrooks Davis.Va TMPDIR 221b0d29bc4SBrooks Davisis defined. 222b0d29bc4SBrooks Davis.It 223b0d29bc4SBrooks Davis.Pa /tmp/ . 224b0d29bc4SBrooks Davis.El 225b0d29bc4SBrooks Davis.Pp 226b0d29bc4SBrooks DavisAnd the default naming scheme of the log files is: 227b0d29bc4SBrooks Davis.Sq <progname>.<timestamp>.log . 228b0d29bc4SBrooks Davis.Pp 229b0d29bc4SBrooks DavisThe messages stored in the log file have a level (or severity) attached to 230b0d29bc4SBrooks Davisthem. 231b0d29bc4SBrooks DavisThese are: 232b0d29bc4SBrooks Davis.Bl -tag -width warningXX -offset indent 233b0d29bc4SBrooks Davis.It error 234b0d29bc4SBrooks DavisFatal error messages. 235b0d29bc4SBrooks DavisThe program generally terminates after these, either in a clean manner or by 236b0d29bc4SBrooks Daviscrashing. 237b0d29bc4SBrooks Davis.It warning 238b0d29bc4SBrooks DavisNon-fatal error messages. 239b0d29bc4SBrooks DavisThese generally report a condition that must be addressed but the application 240b0d29bc4SBrooks Daviscan continue to run. 241b0d29bc4SBrooks Davis.It info 242b0d29bc4SBrooks DavisInformational messages. 243b0d29bc4SBrooks DavisThese tell the user what the program was doing at a general level of 244b0d29bc4SBrooks Davisoperation. 245b0d29bc4SBrooks Davis.It debug 246b0d29bc4SBrooks DavisDetailed informational messages. 247b0d29bc4SBrooks DavisThese are often useful when debugging problems in the application, as they 248b0d29bc4SBrooks Daviscontain lots of internal details. 249b0d29bc4SBrooks Davis.El 250b0d29bc4SBrooks Davis.Pp 251b0d29bc4SBrooks DavisThe default log level is 252b0d29bc4SBrooks Davis.Sq info 253b0d29bc4SBrooks Davisunless explicitly overridden with 254b0d29bc4SBrooks Davis.Fl -loglevel . 255b0d29bc4SBrooks Davis.Pp 256b0d29bc4SBrooks DavisThe log file is a plain text file containing one line per log record. 257b0d29bc4SBrooks DavisThe format of each line is as follows: 258b0d29bc4SBrooks Davis.Bd -literal -offset indent 259b0d29bc4SBrooks Davistimestamp entry_type pid file:line: message 260b0d29bc4SBrooks Davis.Ed 261b0d29bc4SBrooks Davis.Pp 262b0d29bc4SBrooks Davis.Ar entry_type 263b0d29bc4SBrooks Daviscan be one of: 264b0d29bc4SBrooks Davis.Sq E 265b0d29bc4SBrooks Davisfor an error, 266b0d29bc4SBrooks Davis.Sq W 267b0d29bc4SBrooks Davisfor a warning, 268b0d29bc4SBrooks Davis.Sq I 269b0d29bc4SBrooks Davisfor an informational message and 270b0d29bc4SBrooks Davis.Sq D 271b0d29bc4SBrooks Davisfor a debug message. 272b0d29bc4SBrooks Davis.Ss Bug reporting 273b0d29bc4SBrooks DavisIf you think you have encountered a bug in 274b0d29bc4SBrooks Davis.Nm , 275b0d29bc4SBrooks Davisplease take the time to let the developers know about it. 276b0d29bc4SBrooks DavisThis will ensure that the bug is addressed and potentially fixed in the next 277b0d29bc4SBrooks DavisKyua release. 278b0d29bc4SBrooks Davis.Pp 279b0d29bc4SBrooks DavisThe first step in reporting a bug is to check if there already is a similar 280b0d29bc4SBrooks Davisbug in the database. 281b0d29bc4SBrooks DavisYou can check what issues are currently in the database by going to: 282b0d29bc4SBrooks Davis.Bd -literal -offset indent 283b0d29bc4SBrooks Davishttps://github.com/jmmv/kyua/issues/ 284b0d29bc4SBrooks Davis.Ed 285b0d29bc4SBrooks Davis.Pp 286b0d29bc4SBrooks DavisIf there is no existing issue that describes an issue similar to the 287b0d29bc4SBrooks Davisone you are experiencing, you can open a new one by visiting: 288b0d29bc4SBrooks Davis.Bd -literal -offset indent 289b0d29bc4SBrooks Davishttps://github.com/jmmv/kyua/issues/new/ 290b0d29bc4SBrooks Davis.Ed 291b0d29bc4SBrooks Davis.Pp 292b0d29bc4SBrooks DavisWhen doing so, please include as much detail as possible. 293b0d29bc4SBrooks DavisAmong other things, explain what operating system and platform you are running 294b0d29bc4SBrooks Davis.Nm 295b0d29bc4SBrooks Davison, what were you trying to do, what exact messages you saw on the screen, 296b0d29bc4SBrooks Davishow did you expect the program to behave, and any other details that you 297b0d29bc4SBrooks Davismay find relevant. 298b0d29bc4SBrooks Davis.Pp 299b0d29bc4SBrooks DavisAlso, please include a copy of the log file corresponding to the problem 300b0d29bc4SBrooks Davisyou are experiencing. 301b0d29bc4SBrooks DavisUnless you have changed the location of the log files, you can most likely 302b0d29bc4SBrooks Davisfind them in 303b0d29bc4SBrooks Davis.Pa ~/.kyua/logs/ . 304b0d29bc4SBrooks DavisIf the problem is reproducible, it is good idea to regenerate the log file 305b0d29bc4SBrooks Daviswith an increased log level so as to provide more information. 306b0d29bc4SBrooks DavisFor example: 307b0d29bc4SBrooks Davis.Bd -literal -offset indent 308b0d29bc4SBrooks Davis$ kyua --logfile=problem.log --loglevel=debug \\ 309b0d29bc4SBrooks Davis [rest of the command line] 310b0d29bc4SBrooks Davis.Ed 311b0d29bc4SBrooks Davis.Sh ENVIRONMENT 312b0d29bc4SBrooks DavisThe following variables are recognized and can be freely tuned by the end user: 313b0d29bc4SBrooks Davis.Bl -tag -width COLUMNSXX 314b0d29bc4SBrooks Davis.It Va COLUMNS 315b0d29bc4SBrooks DavisThe width of the screen, in number of characters. 316b0d29bc4SBrooks Davis.Nm 317b0d29bc4SBrooks Davisuses this to wrap long lines. 318b0d29bc4SBrooks DavisIf not present, the width of the screen is determined from the terminal 319b0d29bc4SBrooks Davisstdout is connected to, and, if the guessing fails, this defaults to infinity. 320b0d29bc4SBrooks Davis.It Va HOME 321b0d29bc4SBrooks DavisPath to the user's home directory. 322b0d29bc4SBrooks Davis.Nm 323b0d29bc4SBrooks Davisuses this location to determine paths to configuration files and default log 324b0d29bc4SBrooks Davisfiles. 325b0d29bc4SBrooks Davis.It Va TMPDIR 326b0d29bc4SBrooks DavisPath to the system-wide temporary directory. 327b0d29bc4SBrooks Davis.Nm 328b0d29bc4SBrooks Davisuses this location to place the work directory of test cases, among other 329b0d29bc4SBrooks Davisthings. 330b0d29bc4SBrooks Davis.Pp 331b0d29bc4SBrooks DavisThe default value of this variable depends on the operating system. 332b0d29bc4SBrooks DavisIn general, it is 333b0d29bc4SBrooks Davis.Pa /tmp . 334b0d29bc4SBrooks Davis.El 335b0d29bc4SBrooks Davis.Pp 336b0d29bc4SBrooks DavisThe following variables are also recognized, but you should not need to set them 337b0d29bc4SBrooks Davisduring normal operation. 338b0d29bc4SBrooks DavisThey are only provided to override the value of built-in values, which is useful 339b0d29bc4SBrooks Daviswhen testing 340b0d29bc4SBrooks Davis.Nm 341b0d29bc4SBrooks Davisitself: 342b0d29bc4SBrooks Davis.Bl -tag -width KYUAXCONFDIRXX 343b0d29bc4SBrooks Davis.It Va KYUA_CONFDIR 344b0d29bc4SBrooks DavisPath to the system-wide configuration files for 345b0d29bc4SBrooks Davis.Nm . 346b0d29bc4SBrooks Davis.Pp 347b0d29bc4SBrooks DavisDefaults to 348b0d29bc4SBrooks Davis.Pa __CONFDIR__ . 349b0d29bc4SBrooks Davis.It Va KYUA_DOCDIR 350b0d29bc4SBrooks DavisPath to the location of installed documentation. 351b0d29bc4SBrooks Davis.Pp 352b0d29bc4SBrooks DavisDefaults to 353b0d29bc4SBrooks Davis.Pa __DOCDIR__ . 354b0d29bc4SBrooks Davis.It Va KYUA_MISCDIR 355b0d29bc4SBrooks DavisPath to the location of the installed miscellaneous scripts and data 356b0d29bc4SBrooks Davisfiles provided by 357b0d29bc4SBrooks Davis.Nm . 358b0d29bc4SBrooks Davis.Pp 359b0d29bc4SBrooks DavisDefaults to 360b0d29bc4SBrooks Davis.Pa __MISCDIR__ . 361b0d29bc4SBrooks Davis.It Va KYUA_STOREDIR 362b0d29bc4SBrooks DavisPath to the location of the installed store support files; e.g., the 363b0d29bc4SBrooks Davisdirectory containing the SQL database schema. 364b0d29bc4SBrooks Davis.Pp 365b0d29bc4SBrooks DavisDefaults to 366b0d29bc4SBrooks Davis.Pa __STOREDIR__ . 367b0d29bc4SBrooks Davis.El 368b0d29bc4SBrooks Davis.Sh FILES 369b0d29bc4SBrooks Davis.Bl -tag -width XXXX 370b0d29bc4SBrooks Davis.It Pa ~/.kyua/store/ 371b0d29bc4SBrooks DavisDefault location for the results files. 372b0d29bc4SBrooks Davis.It Pa ~/.kyua/kyua.conf 373b0d29bc4SBrooks DavisUser-specific configuration file. 374b0d29bc4SBrooks Davis.It Pa ~/.kyua/logs/ 375b0d29bc4SBrooks DavisDefault location for the collected log files. 376b0d29bc4SBrooks Davis.It Pa __CONFDIR__/kyua.conf 377b0d29bc4SBrooks DavisSystem-wide configuration file. 378b0d29bc4SBrooks Davis.El 379b0d29bc4SBrooks Davis.Sh EXIT STATUS 380b0d29bc4SBrooks Davis.Nm 381b0d29bc4SBrooks Davisreturns 0 on success, 1 on a controlled error condition in the given 382b0d29bc4SBrooks Davissubcommand, 2 on a general unexpected error and 3 on a usage error. 383b0d29bc4SBrooks Davis.Pp 384b0d29bc4SBrooks DavisThe documentation of the subcommands in the corresponding manual pages only 385b0d29bc4SBrooks Davisdetails the difference between a successful exit (0) and the detection of a 386b0d29bc4SBrooks Daviscontrolled error (1). 387b0d29bc4SBrooks DavisEven though when those manual pages do not describe any other exit statuses, 388b0d29bc4SBrooks Daviscodes above 1 can be returned. 389b0d29bc4SBrooks Davis.Sh SEE ALSO 390b0d29bc4SBrooks Davis.Xr kyua.conf 5 , 391b0d29bc4SBrooks Davis.Xr kyuafile 5 , 392b0d29bc4SBrooks Davis.Xr atf 7 , 393b0d29bc4SBrooks Davis.Xr tests 7 394b0d29bc4SBrooks Davis.Sh AUTHORS 395*6b13d60bSMuhammad Moinur RahmanThe original author of 396*6b13d60bSMuhammad Moinur Rahman.Nm 397*6b13d60bSMuhammad Moinur Rahmanwas 398*6b13d60bSMuhammad Moinur Rahman.An Julio Merino . 399*6b13d60bSMuhammad Moinur Rahman.Pp 400b0d29bc4SBrooks DavisFor more details on the people that made 401b0d29bc4SBrooks Davis.Nm 402b0d29bc4SBrooks Davispossible and the license terms, run: 403b0d29bc4SBrooks Davis.Bd -literal -offset indent 404b0d29bc4SBrooks Davis$ kyua about 405b0d29bc4SBrooks Davis.Ed 406