Home | History | Annotate | only in /external/ltp/testcases/commands/cron
Up to higher level directory
NameDateSize
00_Descriptions.txt05-Oct-2017108
cron0205-Oct-20172.3K
cron0305-Oct-20172.6K
cron_allow0105-Oct-20175.2K
cron_deny0105-Oct-20174.9K
cron_dirs_check.c05-Oct-2017839
cron_dirs_checks0105-Oct-20171.4K
cron_illegal_cron_lines05-Oct-20171,009
cron_neg_tests.sh05-Oct-20172.8K
cron_pos_tests.sh05-Oct-20172K
cron_tests.sh05-Oct-201711.9K
Makefile05-Oct-20171.1K
README.tests05-Oct-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