v3.5.3
tests: add new assertion for chmod()
Avoid getcwd(0, PATH_MAX) for GNU libc
Fix matching test name to correctly check a test name terminator.
Seperate get_test_set() function out into a utility source file used by all test programs.