Regression test portability: TAP

Even with successful tests on NetBSD, we had a failure message at
the end: "No plan found in TAP output"

This was caused by a white space left padded numerical variable.
Stripping the white spaces fixes the problem.

While there add SKIP_TEST for NetBSD on unspported tests so that
it does not triger a failure.

BUG: 1129939
Change-Id: I8d0bc125c4208974657977568d838ee2dd19783c
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/8981
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>