diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-08-28 18:22:51 +0200 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-08-28 18:41:54 +0200 |
commit | 6fa8be96fc65ae7223640494574b5cf2774b80d7 (patch) | |
tree | 289c182f3eba2d3f98dfe09f94708eda4dabdc36 /test/test.sh | |
parent | 6f83e225b1557f316ae63ed72a29d93354e0c7af (diff) | |
download | libfaketime-6fa8be96fc65ae7223640494574b5cf2774b80d7.tar.gz |
Fake sleep() and friends
This speeds up testing ;-)
Diffstat (limited to 'test/test.sh')
-rwxr-xr-x | test/test.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index a377b3f..4014b99 100755 --- a/test/test.sh +++ b/test/test.sh @@ -30,6 +30,10 @@ echo echo "Running the test program with 10 days negative offset specified, and FAKE_STAT disabled" echo "\$ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME=\"-10d\" NO_FAKE_STAT=1 ./timetest" LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-10d" NO_FAKE_STAT=1 ./timetest + +echo "Running the test program with 10 days postive offset specified, and sped up 2 times" +echo "\$ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME=\"+10d x2\" ./timetest" +LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="+10d x2" NO_FAKE_STAT=1 ./timetest echo echo "Running the 'date' command with 15 days negative offset specified" |