Fix the number of tests that will be executed

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Remove requires_root from jexpect

It really only needs to be checked once at the start of
the script

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Handle EMLINK on FreeBSD properly

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix a compile-time warning when WARNS=6

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>