File: README.md

package info (click to toggle)
tmperamental 1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 76 kB
  • sloc: ansic: 135; makefile: 51; sh: 5
file content (24 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.

![](http://static.guim.co.uk/sys-images/Society/Pix/pictures/2010/4/21/1271861774568/Crying-Baby-001.jpg)