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

Optimization method for consistency testing tool PJD-FSTEST of file system POSIX (portable operating system interface)

A technology of file system and optimization method, applied in the direction of software testing/debugging, etc., can solve the problems of unverified, unverified user user2, and unverified property configuration information, and achieves simple structure, perfect integrity testing, and reasonable design. Effect

Active Publication Date: 2016-02-24
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF1 Cites 2 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
  • Optimization method for consistency testing tool PJD-FSTEST of file system POSIX (portable operating system interface)

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 invention provides an optimization method for a consistency testing tool PJD-FSTEST of a file system POSIX (portable operating system interface). The optimization method comprises the following steps: (1) calling a file system standard POSIX interface to execute function configuration; (2) calling the file system interface to obtain configuration information; (3) verifying whether the configuration information is correct or not; and (4) calling a test method for verifying whether the function is to take effect or not so as to perform verification on the effectiveness of the function. Compared with the prior art, the optimization method for the consistency testing tool PJD-FSTEST of the file system POSIX is added with the verification functional module, so that the completeness test on the function is perfected, the problem that the function is not taken into effect when the configuration information is correct is avoided, and the test efficiency is improved; and in addition, the optimization method has the characteristics of reasonable design, simple structure, convenience in use and the like, so that the optimization method is high in use value.

Description

technical field [0001] The invention relates to the technical field of file system function test, in particular to an optimization method of PJD-FSTEST, a file system POSIX consistency test tool. Background technique [0002] pjd-fstest is a file system POSIX (PortableOperatingSystemInterface, portable operating system interface) consistency test tool. Its test principle is to read, write or set attributes of files or folders by calling the standard POSIX interface provided by the file system. , 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 user user2. Currentl...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 王志华吴丙涛徐艳秋
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD