def cifsMountAs(self, userName, userPass): status= TestCifsUtils.do_cifsMount('common/', userName, userPass) if status != 8192: self.assertEqual(status, 0, 'CIFS Mount failure') return status
def cifsMountAs(self, userArea, userName, userPass): status = TestCifsUtils.do_cifsMount('private/' + userArea, userName, userPass) if status != 8192: self.assertEqual(status, 0, 'CIFS Mount failure') return status
def cifsMountAs(self, access, userArea, userName, userPass): status = TestCifsUtils.do_cifsMount(access + "/" + userArea, userName, userPass) if status != 32 * 256: # 32 is exit status for mount failure: just return status self.assertEqual(status, 0, "CIFS Mount failure") return status
def cifsMountAs(self, userArea, userName, userPass): status = TestCifsUtils.do_cifsMount("shared/" + userArea, userName, userPass) if status != 8192: self.assertEqual(status, 0, "CIFS Mount failure") return status
def cifsMountAs(self, access, userArea, userName, userPass): status = TestCifsUtils.do_cifsMount(access + '/' + userArea, userName, userPass) if status != 32 * 256: # 32 is exit status for mount failure: just return status self.assertEqual(status, 0, 'CIFS Mount failure') return status