Home | History | Annotate | only in /external/ltp/testcases/commands/cron
Up to higher level directory
NameDateSize
00_Descriptions.txt21-Aug-2018108
cron0221-Aug-20182.3K
cron0321-Aug-20182.6K
cron_allow0121-Aug-20185.2K
cron_deny0121-Aug-20184.9K
cron_dirs_check.c21-Aug-2018818
cron_dirs_checks0121-Aug-20181.4K
cron_illegal_cron_lines21-Aug-20181,009
cron_neg_tests.sh21-Aug-20182.8K
cron_pos_tests.sh21-Aug-20182K
cron_tests.sh21-Aug-20185.9K
Makefile21-Aug-20181.1K
README.tests21-Aug-2018823

README.tests

      1 This directory contains two scripts and one data file to test cron. Both
      2 shouldn't be run as root but they warn for themselves. If a username is
      3 given as parameter they run as this user.
      4 
      5 Both scripts save the current crontab and restore it after finishing.
      6 
      7 * Positive tests
      8 
      9 	cron_pos_tests.sh [username]
     10 
     11 	- add new job
     12 	- check correct execution of job
     13 	- delete job
     14 
     15 * Negative tests
     16 
     17 	cron_neg_tests.sh [username]
     18 
     19 	- try to edit the crontab of root
     20 	- try to set illegal or nondefined execution times
     21 	  Here the script uses file illegal_cron_lines which contains two
     22 	  fields per line: the cron line to be tested (without script name),
     23 	  and the description of this test. The description is written to
     24 	  stdout during execution of the test.
     25 	- try to do things you aren't allowed as non-root (cron runs as root)
     26