X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS-Test%2Fbin%2Ffreeside-test-start;fp=FS-Test%2Fbin%2Ffreeside-test-start;h=733559ca27b8f28d6163caf48b7ce5b805dd554b;hb=008060cdb11cbd68141326920439864708d04981;hp=430a4115da962b3c90cdf81356ade3e2fd5df16d;hpb=5d9e9f9a6fb8c4bc1db111e5b8a295b8f3ff6a08;p=freeside.git diff --git a/FS-Test/bin/freeside-test-start b/FS-Test/bin/freeside-test-start index 430a4115d..733559ca2 100755 --- a/FS-Test/bin/freeside-test-start +++ b/FS-Test/bin/freeside-test-start @@ -40,8 +40,9 @@ fi newtime=$(sudo -u freeside \ psql -tc 'SELECT to_timestamp(max(_date) + 86400) FROM cust_bill' \ ) -echo "Setting clock to $newtime." -sudo date -s "$newtime" +# no longer needed since we don't run LaTeX in the test script +#echo "Setting clock to $newtime." +#sudo date -s "$newtime" #echo "Applying upgrades." #sudo -u freeside freeside-upgrade test @@ -49,6 +50,6 @@ sudo date -s "$newtime" # start Apache on a future date when all of the invoice dates are in the past echo "Restarting Apache." -sudo service apache2 start +sudo faketime "$newtime" apache2ctl start echo "Done."