Unlock instant, AI-driven research and patent intelligence for your innovation.

An optimization method of pjd-fstest, a file system posix consistency test tool

A technology of file system and optimization method, applied in the direction of software testing/debugging, etc., can solve the problems of unverified, unverified, and unverified user user2 of attribute configuration information, so as to achieve simple structure, avoid correct configuration information, complete and complete The effect of sex testing

Active Publication Date: 2019-09-06
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This test method only obtains the attribute configuration information of the file system, but does not verify whether the actual function of the attribute configuration information is effective. For example, setting file1 has executable permission for user user1 and only read permission for user user2. Currently The test tool only obtains the file attributes and verifies whether the configuration information is correct, but whether the user user2 can execute the file1 file has not been verified, that is, whether the actual function of the attribute information takes effect has not been verified.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An optimization method of pjd-fstest, a file system posix consistency test tool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The optimization method of a file system POSIX conformance testing tool PJD-FSTEST of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0020] Such as figure 1 Shown, the optimization method of a kind of file system POSIX consistency test tool PJD-FSTEST of the present invention, its optimization method comprises the steps:

[0021] (1) Call the standard POSIX interface of the file system to perform function configuration;

[0022] (2) Call the file system interface to obtain configuration information;

[0023] (3) Verify that the configuration information is correct;

[0024] (4) Call the test method to verify whether the verification function is effective or not;

[0025] For a POSIX conformance test where a specific file file1 has executable permissions only for user user1, the following steps are required:

[0026] (1) Call the standard interface of the file system to set the file file1 to have executable pe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides an optimization method for a file system POSIX conformance test tool PJD-FSTEST. The optimization method includes the following steps: (1) calling a file system standard POSIX interface to perform function configuration; (2) calling a file system interface to obtain the configuration information; (3), verify whether the configuration information is correct; (4), call the test method to verify whether the function is valid or not. Compared with the prior art, the optimization method of the file system POSIX consistency test tool PJD-FSTEST of the present invention improves the integrity test of the function by adding a verification function module, and avoids the situation where the configuration information is correct but the function does not take effect. The problem of errors is improved, the test efficiency is improved, and the present invention also has the characteristics of reasonable design, simple structure, convenient use and the like, so it has good use value.

Description

technical field [0001] The invention relates to the technical field of file system function testing, in particular to an optimization method of a file system POSIX consistency test tool PJD-FSTEST. Background technique [0002] pjd-fstest is a file system POSIX (Portable Operating System Interface, Portable Operating System Interface) consistency test tool. Its test principle is to read, write or attribute files or folders by calling the standard POSIX interface provided by the file system. Set and other operations, and then verify whether the previous operation is successful by calling the method of obtaining the attributes of the file system, so as to achieve the POSIX conformance test. This test method only obtains the attribute configuration information of the file system, but does not verify whether the actual function of the attribute configuration information is effective. For example, setting file1 has executable permission for user user1 and only read permission for...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 王志华吴丙涛徐艳秋
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD