git: dfregress: Add 'rc' option
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Fri Nov 27 03:17:08 PST 2020
commit 039caa2712bab592ce22f44947164503333880a1
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Fri Nov 27 11:52:07 2020 +0100
dfregress: Add 'rc' option
- Allows to specify which return code will be considered success for the
test case being run. In the example below, a return code of '1' will
make the test PASS.
# Testcase type Options Args
builtins/alias.1 userland nobuild,rc=1 myarg1 myarg2
Summary of changes:
usr.bin/dfregress/dfregress.8 | 6 +++++-
usr.bin/dfregress/runlist.c | 6 ++++--
usr.bin/dfregress/testcase.c | 31 +++++++++++++++++++++++++++++++
usr.bin/dfregress/testcase.h | 2 ++
usr.bin/dfregress/userland.c | 17 ++++++++++++++---
usr.bin/dfregress/userland.h | 5 +++--
6 files changed, 59 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/039caa2712bab592ce22f44947164503333880a1
--
DragonFly BSD source repository
More information about the Commits
mailing list