Now
MAIN commitmail json YAML
src/usr.bin/make/unit-tests/Makefile@1.76
/
diff
/
nxr@1.76
src/usr.bin/make/unit-tests/moderrs.exp@1.8 / diff / nxr@1.8
src/usr.bin/make/unit-tests/moderrs.mk@1.7 / diff / nxr@1.7
src/usr.bin/make/var.c@1.354 / diff / nxr@1.354
src/usr.bin/make/unit-tests/moderrs.exp@1.8 / diff / nxr@1.8
src/usr.bin/make/unit-tests/moderrs.mk@1.7 / diff / nxr@1.7
src/usr.bin/make/var.c@1.354 / diff / nxr@1.354
make(1): add enough tests to cover the ApplyModifier functions
Only a few return statements are still missing from the code coverage.
In ApplyModifier_Assign, the test for an empty variable name is skipped
for now since it segfaults.
In ApplyModifier_SysV after the second ParseModifierPart, the branch for
the missing delimiter is not reached since this case is already checked
for in the first part of the function. To trigger this branch, a
specially crafted, unrealistic string needs to be created, and that's too
complicated for the moment.
Only a few return statements are still missing from the code coverage.
In ApplyModifier_Assign, the test for an empty variable name is skipped
for now since it segfaults.
In ApplyModifier_SysV after the second ParseModifierPart, the branch for
the missing delimiter is not reached since this case is already checked
for in the first part of the function. To trigger this branch, a
specially crafted, unrealistic string needs to be created, and that's too
complicated for the moment.