| #
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 ...
|
| #
e7437ae9 |
| 07-Jul-2022 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
rc: Start testing the rc(8) framework (beginning with *_oomprotect)
This change adds 2 tests to make sure that the *_oomprotect variable sets the protection against OOM killer properly within rc(8)
rc: Start testing the rc(8) framework (beginning with *_oomprotect)
This change adds 2 tests to make sure that the *_oomprotect variable sets the protection against OOM killer properly within rc(8) scripts.
This is also adding the first tests for the rc(8) framework. More tests will be added as we go.
PR: 256148 Approved by: des MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D35745
show more ...
|