コード例 #1
0
 def __init__(self):
     """ Constructor TestNVMeUncor """
     TestNVMeIO.__init__(self)
     self.start_block = 1023
     self.setup_log_dir(self.__class__.__name__)
     self.write_file = self.test_log_dir + "/" + self.write_file
     self.read_file = self.test_log_dir + "/" + self.read_file
     self.create_data_file(self.write_file, self.data_size, "15")
     open(self.read_file, 'a').close()
コード例 #2
0
 def __init__(self):
     """ Constructor TestNVMeUncor """
     TestNVMeIO.__init__(self)
     self.start_block = 1023
     self.setup_log_dir(self.__class__.__name__)
     self.write_file = self.test_log_dir + "/" + self.write_file
     self.read_file = self.test_log_dir + "/" + self.read_file
     self.create_data_file(self.write_file, self.data_size, "15")
     open(self.read_file, 'a').close()
コード例 #3
0
 def __init__(self):
     """ Pre Section for TestNVMeCompareCmd """
     TestNVMeIO.__init__(self)
     self.data_size = 1024
     self.start_block = 1023
     self.setup_log_dir(self.__class__.__name__)
     self.compare_file = self.test_log_dir + "/" + "compare_file.txt"
     self.write_file = self.test_log_dir + "/" + self.write_file
     self.create_data_file(self.write_file, self.data_size, "15")
     self.create_data_file(self.compare_file, self.data_size, "25")
コード例 #4
0
 def __init__(self):
     """ Pre Section for TestNVMeReadWriteTest """
     TestNVMeIO.__init__(self)
     self.start_block = 1023
     self.test_log_dir = self.log_dir + "/" + self.__class__.__name__
     self.setup_log_dir(self.__class__.__name__)
     self.write_file = self.test_log_dir + "/" + self.write_file
     self.read_file = self.test_log_dir + "/" + self.read_file
     self.create_data_file(self.write_file, self.data_size, "15")
     open(self.read_file, 'a').close()
コード例 #5
0
 def __init__(self):
     """ Pre Section for TestNVMeReadWriteTest """
     TestNVMeIO.__init__(self)
     self.start_block = 1023
     self.test_log_dir = self.log_dir + "/" + self.__class__.__name__
     self.setup_log_dir(self.__class__.__name__)
     self.write_file = self.test_log_dir + "/" + self.write_file
     self.read_file = self.test_log_dir + "/" + self.read_file
     self.create_data_file(self.write_file, self.data_size, "15")
     open(self.read_file, 'a').close()
コード例 #6
0
 def __init__(self):
     """ Pre Section for TestNVMeWriteZeros """
     TestNVMeIO.__init__(self)
     self.start_block = 1023
     self.block_count = 0
     self.setup_log_dir(self.__class__.__name__)
     self.write_file = self.test_log_dir + "/" + self.write_file
     self.read_file = self.test_log_dir + "/" + self.read_file
     self.zero_file = self.test_log_dir + "/" + "zero_file.txt"
     self.create_data_file(self.write_file, self.data_size, "15")
     self.create_data_file(self.zero_file, self.data_size, '\0')
     open(self.read_file, 'a').close()
コード例 #7
0
 def __init__(self):
     """ Pre Section for TestNVMeWriteZeros """
     TestNVMeIO.__init__(self)
     self.start_block = 1023
     self.block_count = 0
     self.setup_log_dir(self.__class__.__name__)
     self.write_file = self.test_log_dir + "/" + self.write_file
     self.read_file = self.test_log_dir + "/" + self.read_file
     self.zero_file = self.test_log_dir + "/" + "zero_file.txt"
     self.create_data_file(self.write_file, self.data_size, "15")
     self.create_data_file(self.zero_file, self.data_size, '\0')
     open(self.read_file, 'a').close()
コード例 #8
0
 def __del__(self):
     """ Post Section for TestNVMeUncor """
     TestNVMeIO.__del__(self)
コード例 #9
0
 def __del__(self):
     """ Post Section for TestNVMeCompareCmd """
     TestNVMeIO.__del__(self)
コード例 #10
0
 def __del__(self):
     """ Post Section for TestNVMeReadWriteTest """
     TestNVMeIO.__del__(self)
コード例 #11
0
 def __del__(self):
     """ Post Section for TestNVMeReadWriteTest """
     TestNVMeIO.__del__(self)
コード例 #12
0
 def __del__(self):
     """ Post Section for TestNVMeWriteZeros """
     TestNVMeIO.__del__(self)
コード例 #13
0
 def __del__(self):
     """ Post Section for TestNVMeUncor """
     TestNVMeIO.__del__(self)
コード例 #14
0
 def __del__(self):
     """ Post Section for TestNVMeWriteZeros """
     TestNVMeIO.__del__(self)