Testsuite: set cmdline before running testcase not after