Fixed typos

This commit is contained in:
Pascal Borreli
2013-11-16 11:21:34 +00:00
parent 55baa3d955
commit 443e04e62d
10 changed files with 13 additions and 13 deletions

View File

@@ -146,7 +146,7 @@ def main(argv):
stdoutdata = stdoutdata.lower()
errorcount = (stdoutdata.count('error') -
stdoutdata.count('got errors 0 times'))
print "#times error occured in output is " + str(errorcount) + "\n"
print "#times error occurred in output is " + str(errorcount) + "\n"
if (errorcount > 0):
print "TEST FAILED. Output has 'error'!!!\n"

View File

@@ -314,7 +314,7 @@ class LDBTestCase(unittest.TestCase):
# Dump command fails because of typo in params
dumpFilePath = os.path.join(self.TMP_DIR, "dump8")
self.assertFalse(self.dumpDb(
"--db=%s --create_if_missin" % origDbPath, dumpFilePath))
"--db=%s --create_if_missing" % origDbPath, dumpFilePath))
def testMiscAdminTask(self):
print "Running testMiscAdminTask..."

View File

@@ -7,11 +7,11 @@ class ShellContext;
/*
* Currently, there are four types of state in total
* 1. start state: the first state the program enters
* 2. connecting state: the program try to connnect to a rocksdb server, whose
* 2. connecting state: the program try to connect to a rocksdb server, whose
* previous states could be "start" or "connected" states
* 3. connected states: the program has already connected to a server, and is
* processing user commands
* 4. stop state: the last state the program enters, do some cleanning up things
* 4. stop state: the last state the program enters, do some cleaning up things
*/
class ShellState {