Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

unreliablefs

> 测试质量
Open source

A FUSE-based fault injection filesystem.

186 stars0 likes4 views
WebsiteGitHub

About

A FUSE-based fault injection filesystem.

UnreliableFS

is a FUSE-based fault injection filesystem that allows to change fault-injections in runtime using simple configuration file.

Supported fault injections are:

  • errinj_errno - return error value and set random errno.
  • errinj_kill_caller - send SIGKILL to a process that invoked file operation.
  • errinj_noop - replace file operation with no operation (similar to libeatmydata, but applicable to any file operation).
  • errinj_slowdown - slowdown invoked file operation.

Building

Prerequisites:

  • CentOS: dnf install -y gcc -y cmake fuse fuse-devel
  • Ubuntu: apt-get install -y gcc cmake fuse libfuse-dev
  • FreeBSD: pkg install gcc cmake fusefs-libs pkgconf
  • OpenBSD: pkg_add cmake
  • macOS: brew install --cask osxfuse
bash
$ cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
$ cmake --build build --parallel

Packages

Using

bash
$ mkdir /tmp/fs
$ unreliablefs /tmp/fs -basedir=/tmp -seed=1618680646
$ cat  /tmp/fs/unreliablefs.conf
[errinj_noop]
op_regexp = .*
path_regexp = .*
probability = 30
EOF
$ ls -la
$ umount /tmp/fs

Documentation

See documentation in unreliablefs.1 and unreliablefs.conf.5.

License

MIT License, Copyright (c) 2020-2023, Sergey Bronnikov BSD-3-Clause, Copyright (C) 2009-2020, Ben Hoyt

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cchaos-engineeringchaos-testingfault-injectionfault-injection-filesystem

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.