zoukankan      html  css  js  c++  java
  • pjd-fstest The test suite checks POSIX compliance

    pjd-fstest:

    参考网址:https://www.tuxera.com/community/posix-test-suite/ 

    fstest是一套简化版的文件系统POSIX兼容性测试套件,它可以工作在FreeBSD, Solaris, Linux上用于测试UFS, ZFS, ext3, XFS and the NTFS-3G等文件系统。fstest目前有3601个回归测试用例,测试的系统调用覆盖chmod, chown, link, mkdir, mkfifo, open, rename, rmdir, symlink, truncate, unlink。

    使用方法:

    • 解压压缩包 有两个版本 建议使用 08 稳定版;
    • 参照软件说明文档;
    • 具体步骤如下:
        # cd fstest
        # vi tests/conf
        Change 'fs' to file system type you want to test. These can be:
        UFS, ZFS, ext3, ntfs-3g and xfs.
        # vi Makefile
        You may need to manually tweak few things by editing CFLAGS lines
        at the top of the file.
        # make
        It will compile fstest utility which is used by regression tests.
        # cd /path/to/file/system/you/want/to/test/
        The test must be run as root user.
        # prove -r /path/to/fstest/

    测试结果:

    注:

    prove 为测试命令; 位于 perl-Test-Harness 工具包中; fedora/centos 用户可以使用 yum/dnf 安装;

    保持更新,转载请注明出处;

  • 相关阅读:
    poj_1836 动态规划
    动态规划——最长上升子序列
    poj_3260 动态规划
    poj_3628 动态规划
    动态规划——背包问题
    poj_2559 单调栈
    poj_3415 后缀数组+单调栈
    poj_2823 线段树
    poj_2823 单调队列
    poj_3250 单调栈
  • 原文地址:https://www.cnblogs.com/xuyaowen/p/pjd-fstest.html
Copyright © 2011-2022 走看看