History log of /freebsd/libexec/rc/tests/safe_eval_test.sh (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.4.0-p5, release/14.3.0-p14, release/15.0.0-p9
# 701d7be6 18-May-2026 Simon J. Gerraty <sjg@FreeBSD.org>

Add test cases for safe_eval.sh

safe_set is the routine that does all the work.

In safe_set; if we replace one=`cmd arg` or two=$(cmd arg) add quotes
around the result eg. one="_cmd arg_"
Also line

Add test cases for safe_eval.sh

safe_set is the routine that does all the work.

In safe_set; if we replace one=`cmd arg` or two=$(cmd arg) add quotes
around the result eg. one="_cmd arg_"
Also lines containing `` or $() are too likely to result in syntax
errors, so just delete them.

Differential Revision: https://reviews.freebsd.org/D56795

show more ...