Use the correct format specifier for the return value of strlen().
[cparser] / parsetest /
drwxr-xr-x   ..
-rwxr-xr-x 2016 do_tests.sh
drwxr-xr-x - tocheck