tests: fix HTML-gen sh script (dash compatibility)