Home | History | Annotate | only in /external/ltp/testcases/commands/cron
Up to higher level directory
NameDateSize
00_Descriptions.txt06-Dec-2017108
cron0206-Dec-20172.3K
cron0306-Dec-20172.6K
cron_allow0106-Dec-20175.2K
cron_deny0106-Dec-20174.9K
cron_dirs_check.c06-Dec-2017818
cron_dirs_checks0106-Dec-20171.4K
cron_illegal_cron_lines06-Dec-20171,009
cron_neg_tests.sh06-Dec-20172.8K
cron_pos_tests.sh06-Dec-20172K
cron_tests.sh06-Dec-20176K
Makefile06-Dec-20171.1K
README.tests06-Dec-2017823

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