def _testBasic2(self, path, info):
        commit.doCommit(self.cfg, path,
                        'localhost@commit:branch')

        self.resetRoot()
        self.updatePkg(self.rootDir, 'info-%(user)s' % info)
        self.updatePkg(self.rootDir, 'testcase', 
                       version = 'localhost@commit:branch')
        self.verifyFile(self.rootDir + "/etc/changedconfig",
                        'new contents\n')
        self.verifyFile(self.rootDir + "/usr/share/changed",
                        'more contents\n')
        assert((os.stat(self.rootDir + "/usr/bin/hello").st_mode & 0700) 
                            == 0700)
        self.erasePkg(self.rootDir, 'testcase')
        os.remove(path)
dataset/ETHPy150Open sassoftware/conary/conary_test/localcstest.py/LocalCsTest._testBasic2/original