mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fixed typos
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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..."
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user