History log of /external/ltp/testcases/commands/cron/cron_tests.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ba782e46ef8c670bd379abbf80ded49108c0bacc 10-Mar-2017 Petr Vorel <pvorel@suse.cz> cron: Speed up optimization for grep logs

Signed-off-by: Petr Vorel <pvorel@suse.cz>
Suggested-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/commands/cron/cron_tests.sh
a2441e0b7bc6d270687469ab062bddb66e5c58b4 09-Mar-2017 Petr Vorel <pvorel@suse.cz> cron: Rewrite and cleanup cron_tests.sh script

Look for results into more possible log locations, look also into
journalctl output.

This fixes systems with different cron log (Debian, Ubuntu and their
derivates, see github issue #136) and systems which log into journalctl
only (openSUSE Tumbleweed).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
/external/ltp/testcases/commands/cron/cron_tests.sh
b84621b37224f7b0f4319733683730a7b716f4d0 09-Jul-2013 Peng Haitao <penght@cn.fujitsu.com> cron_tests.sh: fix a bug of syslog daemon is disabled

The case will check the /var/log/messages to see if there is a record of
any crontab activity, so make sure syslog daemon is enabld.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/commands/cron/cron_tests.sh
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/commands/cron/cron_tests.sh
37550cf5a86c7ca7424a2a318dd64e550f13f5df 18-Oct-2012 Chris Dearman <chris@mips.com> Remove whitespace at end of line

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e 's/[\t ]*$//'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/commands/cron/cron_tests.sh
65b599fa98d30c025c6c937e504aa690e39fbdb2 03-Nov-2008 subrata_modak <subrata_modak> This patch fixes what I believe is a wrong logic in test 3 of this script right after the last "crontab -l ..." command. In my system the cron table is empty; this command will return false and the else clause will never be executed. If the command returns true (0) then the cron table is not empty as it was supposed to be and the script must indicate an error. Signed-Off-By: Elder Costa <elder.costa@terra.com.br>.
/external/ltp/testcases/commands/cron/cron_tests.sh
823f73388f323a70127eccd29bd9b91e9a5bf117 30-Oct-2008 subrata_modak <subrata_modak> The following patch complements previous ones to fix/improve the behaviour of cron_tests.sh script. Some fixes inspired in CAI Qian's previous posts.
Changes:
1- Added LANG= in the script executed by cron to avoid issues with internationalization.
2- Reordered some tests so that one checks if one of the variables TS_MIN is empty (in case there was some problem to create the file tst1_cron.out)
3- Eliminated the \t\n from the output strings that caused the problem reported by Subrata
4- Fixed the order the expected x received values are printed out to the output log

This version fixes an error in the previous patch that prevented it from applying correctly and added minor cosmetic changes. Signed-Off-By: Elder Costa <elder.costa@terra.com.br>.
/external/ltp/testcases/commands/cron/cron_tests.sh
724d48ee4d9c8b6e66e2a6d708807cc87c6f637e 29-Oct-2008 subrata_modak <subrata_modak> Fix Cron Test Fails to Compare. This patch fixes a comparison failure spotted by Elder Costa because the script was generating empty files. Signed-off-by: CAI Qian <caiqian@cclom.cn>.
/external/ltp/testcases/commands/cron/cron_tests.sh
98ce2121889f0e4ecefecae0a43dfbac2c9d3112 29-Oct-2008 subrata_modak <subrata_modak> The attached patch fixes some errors when running with Ubuntu due to some bash specific syntax. It also has some minor cosmetic and indentation changes. CAVEATS:
1- The comparisons failed because the script was generating empty files and the comparisons in line 181 failed. However the test proceeded as if the comparisons were successful. There is still room for improvement.
2- I had to change Ubuntu default configuration (enable cron log file and rename it from cron.log to cron) for the test to succeed.
Signed-Off-By: Elder Costa <elder.costa@terra.com.br>
/external/ltp/testcases/commands/cron/cron_tests.sh
c790c6ef3dc1ab371e1033786aa8b36acade821f 09-Dec-2003 robbiew <robbiew> Added #!/bin/sh to script top.
/external/ltp/testcases/commands/cron/cron_tests.sh
cc90375ce7a62dcffe28f1b37f5f3ac793037891 09-Dec-2003 robbiew <robbiew> *** empty log message ***
/external/ltp/testcases/commands/cron/cron_tests.sh
d72cabd17cf725e7f3f3d7ee1c7e3dd91631c2c4 03-Dec-2003 robbiew <robbiew> Applied code cleanup and IA64 fix patch from Glen Foster.
/external/ltp/testcases/commands/cron/cron_tests.sh
46d75567e70792eafbf97b79302b974d04cfe790 07-Apr-2003 robbiew <robbiew> Applied Dan Kegel's `ash` compatibility patch.
/external/ltp/testcases/commands/cron/cron_tests.sh
a49eed02e053cb64eb96a36794d8de7d456e3c5a 07-Apr-2003 robbiew <robbiew> Applied Dan Kegel's `ash` compatibility tests.
/external/ltp/testcases/commands/cron/cron_tests.sh
ca5081636ea9c0215f3b00a114708cace57301f3 01-Feb-2003 iyermanoj <iyermanoj> fixed execute permission. Minor modification
/external/ltp/testcases/commands/cron/cron_tests.sh
fd2fe29b3e1908f0abafacfbbe4d755941037b9e 20-Dec-2002 iyermanoj <iyermanoj> Minor mod
/external/ltp/testcases/commands/cron/cron_tests.sh
ea19082e55198b852115e0884ec4be99e975f575 20-Dec-2002 iyermanoj <iyermanoj> Added more TINFO messages to track progress
/external/ltp/testcases/commands/cron/cron_tests.sh
c0971a65807fd0f1c1c5f447e428e364f72d06c5 20-Dec-2002 iyermanoj <iyermanoj> Added exec permission to file perms
/external/ltp/testcases/commands/cron/cron_tests.sh
3deb747cee686922b2d01f715806511e014a883a 20-Dec-2002 iyermanoj <iyermanoj> added test #3
/external/ltp/testcases/commands/cron/cron_tests.sh
8448d7bcd50b0d43ef1ddf02d5ed08a038e9f51e 20-Dec-2002 iyermanoj <iyermanoj> Minor mod.
/external/ltp/testcases/commands/cron/cron_tests.sh
cf57821e50ef2752c735639c1bf95766182f4164 20-Dec-2002 iyermanoj <iyermanoj> Added new test to test basic functionality of CRONTAB, CRON etc.
/external/ltp/testcases/commands/cron/cron_tests.sh