Bug 906386 - convert test-tmp-file.js to use the new test framework