run-test: Make temporary directory name deterministic Use hash of the arguments instead of pid and append unique consecutive integer only if needed due to parallel runs. Test: "test.py -r --host" twice in parallel Change-Id: I48d70afa43dbec22a098c82e6d3522531c79517c