Artifact 7cce1c983316accadb147f821c30d8c1349dc0e9:
- File tests/megatest.config — part of check-in [c075ebd51b] at 2011-06-15 18:11:59 on branch trunk — Added -keepgoing, removed the calls to run-queue, fixes to job limits, -runstep, and killreq (now will do signal/kill after first trying signal/term) (user: mrwellan size: 857)
0000: 5b 66 69 65 6c 64 73 5d 0a 73 79 73 6e 61 6d 65 [fields].sysname 0010: 20 54 45 58 54 0a 66 73 6e 61 6d 65 20 54 45 58 TEXT.fsname TEX 0020: 54 0a 64 61 74 61 70 61 74 68 20 54 45 58 54 0a T.datapath TEXT. 0030: 0a 5b 73 65 74 75 70 5d 0a 23 20 65 78 65 63 74 .[setup].# exect 0040: 75 74 61 62 6c 65 20 2f 70 61 74 68 2f 74 6f 2f utable /path/to/ 0050: 6d 65 67 61 74 65 73 74 0a 6d 61 78 5f 63 6f 6e megatest.max_con 0060: 63 75 72 72 65 6e 74 5f 6a 6f 62 73 20 38 0a 72 current_jobs 8.r 0070: 75 6e 73 64 69 72 20 2f 74 6d 70 2f 72 75 6e 73 unsdir /tmp/runs 0080: 0a 0a 5b 6a 6f 62 74 6f 6f 6c 73 5d 0a 23 20 23 ..[jobtools].# # 0090: 23 20 6c 61 75 6e 63 68 65 72 20 6c 61 75 6e 63 # launcher launc 00a0: 68 65 73 20 6a 6f 62 73 2c 20 74 68 65 20 6a 6f hes jobs, the jo 00b0: 62 20 69 73 20 6d 61 6e 61 67 65 64 20 6f 6e 20 b is managed on 00c0: 74 68 65 20 74 61 72 67 65 74 20 68 6f 73 74 0a the target host. 00d0: 23 23 20 62 79 20 6d 65 67 61 74 65 73 74 2c 20 ## by megatest, 00e0: 63 6f 6d 6d 65 6e 74 20 6f 75 74 20 6c 61 75 6e comment out laun 00f0: 63 68 65 72 20 74 6f 20 72 75 6e 20 6c 6f 63 61 cher to run loca 0100: 6c 0a 23 20 77 6f 72 6b 68 6f 73 74 73 20 6c 6f l.# workhosts lo 0110: 63 61 6c 68 6f 73 74 20 68 65 72 6d 65 73 0a 6c calhost hermes.l 0120: 61 75 6e 63 68 65 72 20 6e 62 66 61 6b 65 0a 0a auncher nbfake.. 0130: 23 23 20 75 73 65 20 22 78 74 65 72 6d 20 2d 65 ## use "xterm -e 0140: 20 63 73 69 20 2d 2d 20 22 20 61 73 20 61 20 6c csi -- " as a l 0150: 61 75 6e 63 68 65 72 20 74 6f 20 65 78 61 6d 69 auncher to exami 0160: 6e 65 20 74 68 65 20 6c 61 75 6e 63 68 20 65 6e ne the launch en 0170: 76 69 72 6f 6e 6d 65 6e 74 2e 0a 23 23 20 65 78 vironment..## ex 0180: 69 74 20 77 69 74 68 20 28 65 78 69 74 29 0a 23 it with (exit).# 0190: 23 20 67 65 74 20 61 20 73 68 65 6c 6c 20 77 69 # get a shell wi 01a0: 74 68 20 28 73 79 73 74 65 6d 20 22 62 61 73 68 th (system "bash 01b0: 22 29 0a 23 20 6c 61 75 6e 63 68 65 72 20 78 74 ").# launcher xt 01c0: 65 72 6d 20 2d 65 20 63 73 69 20 2d 2d 0a 0a 5b erm -e csi --..[ 01d0: 76 61 6c 69 64 76 61 6c 75 65 73 5d 0a 73 74 61 validvalues].sta 01e0: 74 65 20 73 74 61 72 74 20 65 6e 64 20 63 6f 6d te start end com 01f0: 70 6c 65 74 65 64 0a 73 74 61 74 75 73 20 70 61 pleted.status pa 0200: 73 73 20 66 61 69 6c 20 6e 2f 61 0a 0a 23 20 54 ss fail n/a..# T 0210: 68 65 73 65 20 61 72 65 20 73 65 74 20 62 65 66 hese are set bef 0220: 6f 72 65 20 61 6c 6c 20 74 65 73 74 73 2c 20 6f ore all tests, o 0230: 76 65 72 72 69 64 65 20 74 68 65 6d 20 0a 23 20 verride them .# 0240: 69 6e 20 74 68 65 20 74 65 73 74 63 6f 6e 66 69 in the testconfi 0250: 67 20 5b 70 72 65 2d 6c 61 75 6e 63 68 2d 65 6e g [pre-launch-en 0260: 76 2d 6f 76 65 72 72 69 64 65 73 5d 20 73 65 63 v-overrides] sec 0270: 74 69 6f 6e 0a 5b 65 6e 76 2d 6f 76 65 72 72 69 tion.[env-overri 0280: 64 65 5d 0a 53 50 45 43 49 41 4c 5f 45 4e 56 5f de].SPECIAL_ENV_ 0290: 56 41 52 53 20 6f 76 65 72 69 64 65 20 74 68 65 VARS overide the 02a0: 6d 20 68 65 72 65 20 2d 20 73 68 6f 75 6c 64 20 m here - should 02b0: 62 65 20 73 65 65 6e 20 61 74 20 6c 61 75 6e 63 be seen at launc 02c0: 68 20 61 6e 64 20 69 6e 20 74 68 65 20 72 75 6e h and in the run 02d0: 73 0a 54 45 53 54 56 41 52 20 5b 73 79 73 74 65 s.TESTVAR [syste 02e0: 6d 20 72 65 61 6c 70 61 74 68 20 2e 5d 0a 44 45 m realpath .].DE 02f0: 41 44 56 41 52 20 5b 73 79 73 74 65 6d 20 6c 73 ADVAR [system ls 0300: 5d 0a 0a 23 23 20 64 69 73 6b 73 20 61 72 65 3a ]..## disks are: 0310: 0a 23 23 20 6e 61 6d 65 20 68 6f 73 74 3a 2f 70 .## name host:/p 0320: 61 74 68 2f 74 6f 2f 61 72 65 61 0a 23 23 20 2d ath/to/area.## - 0330: 6f 72 2d 0a 23 23 20 6e 61 6d 65 20 2f 70 61 74 or-.## name /pat 0340: 68 2f 74 6f 2f 61 72 65 61 0a 5b 64 69 73 6b 73 h/to/area.[disks 0350: 5d 0a 31 20 2f 74 6d 70 0a ].1 /tmp.