We're losing the svn history (which we could probably keep if we tried hard enough) but don't consider that worthwhile. Note these tests are destructive, so run them only in a throwaway environment like a chroot, container, or vm. The tests/run.all script should be the one which launches all the tests. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
17 lines
198 B
C
17 lines
198 B
C
/*
|
|
* gcc time_0.c -o time_0.so -shared
|
|
* LD_PRELOAD=./time_0.so ./test
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <time.h>
|
|
|
|
|
|
time_t time (time_t *t)
|
|
{
|
|
fprintf (stderr, "time 0\n");
|
|
|
|
return (time_t)0;
|
|
}
|
|
|