File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595# - avoid that the faketime wrapper complains when running within a
9696# libfaketime environment
9797#
98- # FAIL_PRE_INIT_CALLS
99- # - If the time is queried before the library was initialised, let the
100- # call fail instead of trying to initialise on-the-fly. This fixes /
101- # works around hangs that were seen with address sanitizer.
102- #
10398# * Compilation addition: second libMT target added for building the pthread-
10499# enabled library as a separate library
105100#
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ timetest: ${OBJ}
2929shm_layout_test : shm_layout_test.c ../src/faketime_common.h
3030 ${CC} -o $@ ${CFLAGS} $<
3131
32- test : timetest functest libmallocintercept.so
32+ test : timetest functest
3333 @echo
3434 @./test.sh
3535
@@ -43,9 +43,6 @@ functest:
4343randomtest : repeat_random
4444 ./randomtest.sh
4545
46- libmallocintercept.so : libmallocintercept.c
47- ${CC} -shared -o $@ -fpic ${CFLAGS} $<
48-
4946# ensure our variadic argument unpacking/repacking works as expected
5047confirm_variadic_promotion : variadic_promotion
5148 ./variadic_promotion
Load diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33FTPL=" ${FAKETIME_TESTLIB:- ../ src/ libfaketime.so.1} "
4- MALLOC_INTERCEPT=./libmallocintercept.so
54
65if [ -f /etc/faketimerc ] ; then
76 echo " Running the test program with your system-wide default in /etc/faketimerc"
6665echo " ============================================================================="
6766echo
6867
69- echo " Running the test program with malloc interception"
70- echo " \$ LD_PRELOAD=./libmallocintercept.so:$FTPL ./timetest"
71- LD_PRELOAD=" ./libmallocintercept.so:$FTPL " ./timetest
72- echo
73-
74- echo " ============================================================================="
75- echo
76-
7768echo " @2005-03-29 14:14:14" > .faketimerc-for-test
7869echo " Running the test program with malloc interception and file faketimerc"
7970echo " \$ FAKETIME_NO_CACHE=1 FAKETIME_TIMESTAMP_FILE=.faketimerc-for-test LD_PRELOAD=./libmallocintercept.so:$FTPL ./timetest"
You can’t perform that action at this time.
0 commit comments