diff --git a/Sanity/sanity-test/runtest.sh b/Sanity/sanity-test/runtest.sh index dc53f83..a6e3bf3 100755 --- a/Sanity/sanity-test/runtest.sh +++ b/Sanity/sanity-test/runtest.sh @@ -41,7 +41,9 @@ rlJournalStart rlGetTestState && { rlPhaseStartTest rlRun "faketime -h" 0 "Check help message" + faketime '2008-12-24 08:15:42' /bin/date rlRun "faketime '2008-12-24 08:15:42' /bin/date | grep 'Wed Dec 24 08:15:42 AM'" 0 "Test functionality 1" + faketime -m '2008-12-24 08:15:42' /bin/date rlRun "faketime -m '2008-12-24 08:15:42' /bin/date | grep 'Wed Dec 24 08:15:42 AM'" 0 "Test -m option" FTIME=$(faketime -f '+2y x10,0' /bin/bash -c 'date +%Y') CTIME=$(($(date +%Y) + 2 ))