def METHOD_NAME(self):
    cfg_file = os.path.join(self.cfg_dir, 'php.ini')
    res = self.run.check_output("%s %s" % (self.rewrite, cfg_file),
                                env=self.env,
                                cwd=self.run_dir,
                                stderr=subprocess.STDOUT,
                                shell=True)
    eq_('', res)
    with open(os.path.join(self.cfg_dir, 'php.ini')) as fin:
        cfgFile = fin.read()
        eq_(-1, cfgFile.find('@{HOME}'))
        eq_(-1, cfgFile.find('@{TMPDIR}'))