Changeset View
Changeset View
Standalone View
Standalone View
contrib/kyua/doc/kyua-debug.1.in
| Show All 19 Lines | |||||
| .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||||
| .\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | .\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||||
| .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||||
| .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
| .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
| .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
| .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||||
| .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
| .Dd March 25, 2025 | .Dd July 22, 2026 | ||||
| .Dt KYUA-DEBUG 1 | .Dt KYUA-DEBUG 1 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm "kyua debug" | .Nm "kyua debug" | ||||
| .Nd Executes a single test case with facilities for debugging | .Nd Executes a single test case with facilities for debugging | ||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Nm | .Nm | ||||
| .Op Fl -build-root Ar path | .Op Fl -build-root Ar path | ||||
| ▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| .sp | .sp | ||||
| This can be useful for debugging system or end-to-end tests | This can be useful for debugging system or end-to-end tests | ||||
| which alter the system by creating artifacts such as files, network | which alter the system by creating artifacts such as files, network | ||||
| interfaces, routing entries, firewall configuration, containers, etc. | interfaces, routing entries, firewall configuration, containers, etc. | ||||
| This flag makes it possible to preserve such artifacts immediately after a test | This flag makes it possible to preserve such artifacts immediately after a test | ||||
| failure, simplifying debugging. | failure, simplifying debugging. | ||||
| Otherwise, these artifacts would be removed by the test cleanup routine or | Otherwise, these artifacts would be removed by the test cleanup routine or | ||||
| by Kyua built-in cleanup mechanism. | by Kyua built-in cleanup mechanism. | ||||
| .It Fl -pause-before-cleanup | .It Fl -pause-before-cleanup , Fl P | ||||
| The unconditional variant of the previous option. | The unconditional variant of the previous option. | ||||
| This can be helpful for reproducing the infrastructure or fixture of a passing | This can be helpful for reproducing the infrastructure or fixture of a passing | ||||
| test for further development or additional analysis. | test for further development or additional analysis. | ||||
| .It Fl -stderr Ar path | .It Fl -stderr Ar path | ||||
| Specifies the file to which to send the standard error of the test | Specifies the file to which to send the standard error of the test | ||||
| program's body. | program's body. | ||||
| The default is | The default is | ||||
| .Pa /dev/stderr , | .Pa /dev/stderr , | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||