opnsense-src/contrib
Igor Ostapenko 51a8eb6410 kyua: Pass unprivileged user config prop to ATF using all known names
Kyua and ATF speak different naming styles. In this case, the
unprivileged user property can be named with underscore on the Kyua
side, and with a hyphen on the ATF side. Sometimes it is not obvious
which style should be used in which situation. For instance, a test case
may require this configuration property being set using require.config.
Also, a test case may want to read the property using something like
atf_tc_get_config_var(). Which names should be used in these cases?
From the perspective of the original code, it is expected to be this:
    require.config unprivileged-user
    atf_tc_get_config_var(tc, "unprivileged-user")

But, as long as Kyua is the main interface, its users expect to work
with kyua.conf(5), which says that it must be named as unprivileged_user
(with underscore). As a result, test authors tend to do this instead:
    require.config unprivileged_user
    atf_tc_get_config_var(tc, "unprivileged_user")

Kyua already has hacks to understand both unprivileged_user and
unprivileged-user coming from require.config. And this patch covers the
missing second part -- make Kyua pass both names back to ATF as two
identical configuration properties named different ways.

Reviewed by:	ngie, asomers
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D49039
2025-02-23 10:41:58 +00:00
..
arm-optimized-routines Update the Arm Optimized Routine library to v25.01 2025-01-10 11:14:39 +00:00
atf contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
bc vendor/bc: upgrade to version 7.0.2 2024-09-18 08:12:19 +02:00
bearssl Merge commit 'd84e570b54961e8874bbd8de25635eb96be0977e' 2023-02-20 22:13:27 -08:00
bionic-x86_64-string Import bionic's x86_64 optimized string routines 2022-08-16 13:27:11 -04:00
blocklist blocklistd: Remove obsolete network class reference 2025-02-03 09:40:51 -05:00
bmake Merge bmake-20250125 2025-01-30 15:51:52 -08:00
bsddialog Import bsddialog 1.0.4 2024-07-11 01:17:23 -05:00
bsnmp libbsnmp: avoid division by zero with empty password 2025-01-10 21:08:02 -08:00
byacc byacc: really import 20240109 2024-06-20 14:34:49 +02:00
bzip2 contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
capsicum-test capsicum-test: rights are propagated on sctp_peeloff(2) 2024-10-08 20:41:45 -04:00
com_err
dialog
diff contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
dma dma: use OpenSSL 1.1 init API 2023-05-11 19:03:34 -04:00
ee ee: fix wprintw usage (highlighted by ncurses 6.5) 2024-06-20 15:43:44 +02:00
elftoolchain libelftc: Fix a typo - FreeBSD's riscv port is little-endian. 2024-12-31 19:53:05 +00:00
expat MFV: expat 2.6.4. 2024-12-08 20:25:01 -08:00
file MFV: file 5.46. 2024-12-08 11:08:17 -08:00
flex
gdtoa
googletest contrib/googletest: update from 1.14.0 to 1.15.2 2024-10-19 18:54:01 -07:00
hyperv/tools hyperv/kvp: Remove set but unused variables. 2023-06-27 10:19:32 -07:00
jemalloc Revert "jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH" 2024-12-15 09:23:59 -07:00
kyua kyua: Pass unprivileged user config prop to ATF using all known names 2025-02-23 10:41:58 +00:00
ldns ldns: Ignore commented-out lines in resolv.conf. 2024-05-15 12:20:15 +02:00
ldns-host
less MFV: less v668. 2024-12-08 21:22:12 -08:00
lib9p lib9p: Remove set but unused sockets[] array from l9p_start_server. 2023-06-20 09:28:59 -07:00
libarchive libarchive: backport PR #2386 (fixes output of one test) 2024-10-21 14:37:09 +02:00
libbegemot
libc-pwcache Remove __FBSDID from netbsd libc sources 2023-11-21 00:21:11 +00:00
libc-vis Remove __FBSDID from netbsd libc sources 2023-11-21 00:21:11 +00:00
libcbor libcbor: vendor update to 0.11.0 2024-05-03 19:33:50 -04:00
libcxxrt libcxxrt: Update to upstream 6f2fdfebcd62 2024-10-31 11:51:29 -04:00
libder Add 'contrib/libder/' from commit '9c40c4de4c33b2ba1124fb752ebea0bebaa6013f' 2025-01-01 15:11:02 -06:00
libdiff libdiff: Implement diff coloring. 2024-10-02 17:55:06 +02:00
libdivsufsort
libedit libedit: update to snapshot 2023-01-06 2023-02-06 14:25:06 +01:00
libevent libevent: Import libevent 2.1.12 2023-11-14 17:13:02 -08:00
libexecinfo
libfido2 libfido2: update to 1.14.0 2024-05-04 12:51:08 -04:00
libpcap libpcap: Update to 1.10.5 2024-09-14 14:09:34 -03:00
libucl libucl: import snapshot 2024-02-06 2024-02-29 13:27:03 +01:00
libxo Merge commit '7087c8de43b0d5d27c52da6ba2ba4957b7e336ff' into new_merge 2023-01-30 00:04:21 -05:00
llvm-project Merge llvm-project release/19.x llvmorg-19.1.7-0-gcd708029e0b2 2025-01-16 21:06:51 +01:00
lua Merge LUA 5.4.6 2023-07-15 11:31:04 -06:00
lutok
mandoc mdoc.7/MANUAL STRUCTURE: add HARDWARE 2025-02-07 11:47:14 -07:00
mknod
mtree
ncurses ncurses: readd 2 html files in the doc (fix MK_HTML=yes) 2024-06-20 15:34:17 +02:00
netbsd-tests Fix remaining zgrep(1) wrapper script regressions 2025-02-09 10:45:03 -08:00
netcat netcat: Add a flag to enable the use of SO_REUSEPORT_LB 2025-01-24 16:37:43 +00:00
ntp ntp: Another patch to address IPv6 pool regression 2025-02-18 09:11:45 -08:00
nvi nvi: import version 2.2.1-52c07e8 2025-01-02 10:04:12 +01:00
ofed bnxt_re: User library support for RoCE driver 2024-07-09 11:08:36 +00:00
one-true-awk ota: Merge One True Awk 20250116 bsd-feature 2dce54b053d4 2025-02-05 13:35:45 -07:00
openbsm libbsm: honour AU_OFLAG_NORESOLVE 2024-11-03 13:37:24 -05:00
opencsd/decoder Import OpenCSD v.1.4.0. 2023-03-27 17:03:16 +01:00
openpam openpam: Migrate from COMPAT_32BIT to generic COMPAT_libcompat 2023-07-09 18:48:17 +01:00
openresolv
pam_modules/pam_passwdqc
pf pfctl: follow rpool -> rdr rename 2025-01-24 11:20:29 +01:00
pjdfstest contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
pnglite
pnpinfo pnpinfo: remove locally added __FBSDID 2023-11-27 16:47:30 +00:00
processor-trace
sendmail contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
smbfs contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
spleen contrib/spleen: Update to Spleen 2.1.0 2025-01-20 21:55:47 -05:00
sqlite3 sqlite3: Vendor import of sqlite3 3.46.1 2024-08-26 13:07:14 -07:00
tcp_wrappers tcp_wrappers: Use default C standard version 2025-01-09 13:07:51 -05:00
tcpdump tcpdump/print-pflog: Print uid with host endianness 2025-01-03 13:37:45 -04:00
tcsh contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
telnet Fix snprintf truncation in telnet 2023-12-21 23:45:52 +01:00
terminus
tnftp
tzcode Update tzcode to 2024b. 2024-09-07 15:46:13 +02:00
tzdata contrib/tzdata: import tzdata 2025a 2025-01-17 09:33:46 +08:00
unbound unbound: Remove testcode and testdata 2024-10-18 07:14:41 -07:00
unifdef unifdef: Fix collision check when adding symbols. 2025-01-30 22:10:46 +01:00
unvis
vis
wireguard-tools Merge commit '93bf91b4012a28610672d2266366dfa0a663b70f' into HEAD 2022-11-04 22:46:21 -05:00
wpa contrib/wpa: pass IFM_IEEE80211_VHT5G if vht_enabled on the channel 2024-12-02 01:54:05 +00:00
xz MFV: xz 5.6.3 2024-12-09 07:20:04 -08:00