Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 debian
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
README.md

libtmperamental

tmperamental is a library that intercepts filesystem writes, and causes loud failures when writes are attempted on /tmp/*.

The idea here is by setting TMPDIR and friends, you are able to use libtmperamental to catch programs in the act of not respecting such env-vars.

Basic Usage:

TMPDIR=~/.tmp LD_PRELOAD=/usr/lib/libtmperamental.so app arguments

In the event the app causes problems, you should see some stderr and a nonzero exit status.

Things to keep in mind:

This library is not to be linked against, just preloaded.

Something went wrong with that request. Please try again.