t/test_writer_hello: disable debugging prints

this test generates a huge amount of output when running under the old
non-parallelized automake test harness.
t/run_test_*.sh: fix DIRNAME calculation