CN105354145A - Optimization method of POSIX consistency test tool PJD-FSTEST of file system - Google Patents
Optimization method of POSIX consistency test tool PJD-FSTEST of file system Download PDFInfo
- Publication number
- CN105354145A CN105354145A CN201510894039.7A CN201510894039A CN105354145A CN 105354145 A CN105354145 A CN 105354145A CN 201510894039 A CN201510894039 A CN 201510894039A CN 105354145 A CN105354145 A CN 105354145A
- Authority
- CN
- China
- Prior art keywords
- file system
- posix
- file
- optimization method
- fstest
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000005457 optimization Methods 0.000 title claims abstract description 16
- 238000010998 test method Methods 0.000 claims abstract description 6
- 238000013475 authorization Methods 0.000 claims description 3
- 238000013461 design Methods 0.000 abstract description 2
- 238000012795 verification Methods 0.000 abstract 2
- 238000010200 validation analysis Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention provides an optimization method of a POSIX consistency test tool PJD-FSTEST of a file system, which comprises the following steps: (1) calling a POSIX interface execution function configuration of a file system standard; (2) calling a file system interface to acquire configuration information; (3) verifying whether the configuration information is correct; (4) and the test method for calling whether the verification function is effective verifies whether the function is effective. Compared with the prior art, the optimization method of the consistency test tool PJD-FSTEST of the file system POSIX improves the integrity test of the functions by adding the verification function module, avoids the error problem that the configuration information is correct and the functions are not effective, improves the test efficiency, and has the characteristics of reasonable design, simple structure, convenient use and the like, thereby having good use value.
Description
Technical field
The present invention relates to file system function technical field of measurement and test, specifically the optimization method of a kind of file system POSIX uniformity test instrument PJD-FSTEST.
Background technology
Pjd-fstest is a file system POSIX(PortableOperatingSystemInterface, portable operating system interface) conforming testing tool, its test philosophy is by calling standard P OSIX interface that file system provides and to read and write file or folder or the operation such as setup of attribute, and then operate whether success before the method validation obtaining attribute by calling file system, thus reach POSIX uniformity test.This method of testing just obtains the attribute configuration information of file system, but whether the actual functional capability for this attribute configuration information comes into force and does not verify, such as arrange file f ile1 to have can perform authority to user user1, only having user user2 can read right, current testing tool just obtains file attribute and verifies that whether configuration information is correct, but whether user user2 can perform file1 file is not verified, namely whether the actual functional capability of this attribute information comes into force, and does not verify.
For the problems referred to above, the present invention devises the optimization method of a kind of file system POSIX uniformity test instrument pjd-fstest, it is mainly optimized for increases authentication function module, whether this module mainly comprises to come into force to each function carries out validation test method, after having verified that in each functional test procedures configuration information is correct, call the method for testing whether come into force for this function and carry out function and whether to come into force checking.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, the optimization method of a kind of file system POSIX uniformity test instrument PJD-FSTEST is provided.
Technical scheme of the present invention realizes in the following manner, and its optimization method comprises the steps:
(1) configuration of file system standard POSIX interface n-back test, is called;
(2), call file system interface and obtain configuration information;
(3), verify that whether configuration information is correct;
(4), call the method for testing authentication function whether authentication function come into force whether to come into force;
Only there is the POSIX uniformity test that can perform authority to user user1 for once concrete file f ile1, need through following steps:
(1), the standard interface that calls file system arranges file f ile1 has can perform authority to user user1, and other users can not perform authority;
(2) standard interface, calling file system obtains the attribute information of file f ile1;
(3), the Authorization Attributes information of authenticating documents file1 can perform authority for having user user1, and other users can not perform authority;
(4) the authenticating documents authority method of testing authentication of users user1 that, calling authentication function module provides can return mistake during execute file file1, user user2 execute file file1.
Advantage of the present invention is:
The optimization method of a kind of file system POSIX uniformity test instrument PJD-FSTEST of the present invention compared to the prior art, by increasing authentication function module, improve the integrity test to function, avoid configuration information correct, and the unenforced Problem-Error of function, improve testing efficiency, and the present invention also have reasonable in design, structure is simple, the feature such as easy to use, thus, there is good use value.
Accompanying drawing explanation
Fig. 1 is the testing process schematic diagram of the optimization method of a kind of file system POSIX uniformity test instrument PJD-FSTEST.
Embodiment
Be described in detail below below in conjunction with the optimization method of accompanying drawing to a kind of file system POSIX uniformity test instrument PJD-FSTEST of the present invention.
As shown in Figure 1, the optimization method of a kind of file system POSIX uniformity test instrument PJD-FSTEST of the present invention, its optimization method comprises the steps:
(1) configuration of file system standard POSIX interface n-back test, is called;
(2), call file system interface and obtain configuration information;
(3), verify that whether configuration information is correct;
(4), call the method for testing authentication function whether authentication function come into force whether to come into force;
Only there is the POSIX uniformity test that can perform authority to user user1 for once concrete file f ile1, need through following steps:
(1), the standard interface that calls file system arranges file f ile1 has can perform authority to user user1, and other users can not perform authority;
(2) standard interface, calling file system obtains the attribute information of file f ile1;
(3), the Authorization Attributes information of authenticating documents file1 can perform authority for having user user1, and other users can not perform authority;
(4) the authenticating documents authority method of testing authentication of users user1 that, calling authentication function module provides can return mistake during execute file file1, user user2 execute file file1.
Its processing and fabricating of optimization method of a kind of file system POSIX uniformity test instrument PJD-FSTEST of the present invention is very simple and convenient, can process to specifications shown in accompanying drawing.
Except the technical characteristic described in instructions, be the known technology of those skilled in the art.
Claims (1)
1. an optimization method of file system POSIX uniformity test instrument PJD-FSTEST, is characterized in that this optimization method comprises the steps:
(1) configuration of file system standard POSIX interface n-back test, is called;
(2), call file system interface and obtain configuration information;
(3), verify that whether configuration information is correct;
(4), call the method for testing authentication function whether authentication function come into force whether to come into force;
Only there is the POSIX uniformity test that can perform authority to user user1 for once concrete file f ile1, need through following steps:
(1), the standard interface that calls file system arranges file f ile1 has can perform authority to user user1, and other users can not perform authority;
(2) standard interface, calling file system obtains the attribute information of file f ile1;
(3), the Authorization Attributes information of authenticating documents file1 can perform authority for having user user1, and other users can not perform authority;
(4) the authenticating documents authority method of testing authentication of users user1 that, calling authentication function module provides can return mistake during execute file file1, user user2 execute file file1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894039.7A CN105354145B (en) | 2015-12-08 | 2015-12-08 | Optimization method of POSIX consistency test tool PJD-FSTEST of file system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894039.7A CN105354145B (en) | 2015-12-08 | 2015-12-08 | Optimization method of POSIX consistency test tool PJD-FSTEST of file system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105354145A true CN105354145A (en) | 2016-02-24 |
CN105354145B CN105354145B (en) | 2019-09-06 |
Family
ID=55330119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510894039.7A Active CN105354145B (en) | 2015-12-08 | 2015-12-08 | Optimization method of POSIX consistency test tool PJD-FSTEST of file system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105354145B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107480039A (en) * | 2017-09-22 | 2017-12-15 | 郑州云海信息技术有限公司 | The small documents readwrite performance method of testing and device of a kind of distributed memory system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963782A (en) * | 2006-11-28 | 2007-05-16 | 北京中星微电子有限公司 | Method and system for testing embeded file system |
-
2015
- 2015-12-08 CN CN201510894039.7A patent/CN105354145B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963782A (en) * | 2006-11-28 | 2007-05-16 | 北京中星微电子有限公司 | Method and system for testing embeded file system |
Non-Patent Citations (2)
Title |
---|
代亮 等: "大数据测试技术研究", 《计算机应用研究》 * |
张蕊等: "基于B/S结构的嵌入式系统测试平台及其应用", 《计算机辅助设计与图形学学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107480039A (en) * | 2017-09-22 | 2017-12-15 | 郑州云海信息技术有限公司 | The small documents readwrite performance method of testing and device of a kind of distributed memory system |
CN107480039B (en) * | 2017-09-22 | 2020-12-04 | 郑州云海信息技术有限公司 | Small file read-write performance test method and device for distributed storage system |
Also Published As
Publication number | Publication date |
---|---|
CN105354145B (en) | 2019-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105306733A (en) | Third-party login mobile phone number binding method based on mobile phone APP | |
CN105490815B (en) | Short message verification code acquisition methods and device, login method, apparatus and system | |
CN104954383A (en) | Application program login method and system | |
CN103560888B (en) | Digital certificate-based unified authentication login method for integrating multiple application systems | |
CN103139391B (en) | Method and device of permission validating installation or unloading of application program in mobile phone | |
CN105512538B (en) | Debugging method and system of intelligent mobile operating system | |
CN102958022A (en) | Short message verification method, device and system | |
WO2018058982A1 (en) | Control information pushing method and pushing device, intelligent router and server | |
WO2014039373A1 (en) | Securely handling server certificate errors in synchronization communication | |
WO2013067877A1 (en) | User register and login method and mobile terminal | |
CN104217494A (en) | Card number calibration method and device | |
JP2013542504A5 (en) | ||
CN103888408A (en) | Method for uploading data to social networking platform and device thereof | |
CN104978248A (en) | Method and system for remotely managing mobile terminal APP on basis of ADB | |
CN105354145A (en) | Optimization method of POSIX consistency test tool PJD-FSTEST of file system | |
CN109858235B (en) | Portable equipment and password obtaining method and device thereof | |
CN104486306A (en) | Method for identity authentication based on finger vein recognition and cloud service | |
CN104751046B (en) | A kind of user authen method and mobile terminal device of application program | |
CN104079527A (en) | Information processing method and electronic equipment | |
CN106203998A (en) | A kind of method and device of withdrawing deposit of net cast | |
CN104298908A (en) | Information processing method and electronic equipment | |
CN105574400A (en) | Information processing method and electronic device | |
CN104133696A (en) | Vehicle electronic control unit data flushing method, vehicle electronic control unit data flushing system and memory medium | |
CN105989316A (en) | Bank card information reading method and apparatus | |
CN105099680A (en) | Method of authenticating user identity according to digital certificate and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |