commit 0d575305999842dc2a129c71e822ce56833ec74d
Author: Antonio Huete Jimenez <[email protected]>
Date:   Thu Nov 26 23:40:00 2020 +0100

    dfregress: Add 'interpreter' option
    
      - Allows to specify the interpreter that will run the testcase file.
        Some test cases just provide a file without execution permissions or no
        shebang, etc. In some cases it is not desirable to modify the test case
        files (i.e. contrib stuff).
    
        Taking the example below, the previous behavior was to execvp() the file
        'builtins/alias.0' but with 'interpreter' option, now you can specify
        the shell you want to use to run it.
    
        # Testcase            type        Options                   Args
        builtins/alias.0      userland    nobuild,interpreter=sh    myarg1 
myarg2

Summary of changes:
 usr.bin/dfregress/dfregress.8 | 12 ++++++++-
 usr.bin/dfregress/runlist.c   |  5 +++-
 usr.bin/dfregress/testcase.c  | 62 ++++++++++++++++++++++++++++++++++++++++++-
 usr.bin/dfregress/testcase.h  |  4 +++
 usr.bin/dfregress/userland.c  | 50 +++++++++++++++++++++++++++++-----
 usr.bin/dfregress/userland.h  |  6 ++---
 6 files changed, 127 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d575305999842dc2a129c71e822ce56833ec74d


-- 
DragonFly BSD source repository

Reply via email to