X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS-Test%2Fbin%2Ffreeside-test-start;h=4f12e325b32ce6cfdbac9654744cfbb4b6fd7f8a;hp=eca2e03b65a55fe79026a2c18ea400cb2061fb67;hb=ca36c08592ef9e91641d2a6e1d2c40c2314692d9;hpb=a2c11a9d32cdeb406f08e0a5df3ff1f70e56e9c7 diff --git a/FS-Test/bin/freeside-test-start b/FS-Test/bin/freeside-test-start index eca2e03b6..4f12e325b 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."