Artifact
15ea3d69a8a62c57aad8567f3f89ceb91a449365:
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 35 30 0a current_jobs 50.
0070: 6c 69 6e 6b 74 72 65 65 20 2f 74 6d 70 2f 72 75 linktree /tmp/ru
0080: 6e 73 0a 0a 5b 6a 6f 62 74 6f 6f 6c 73 5d 0a 23 ns..[jobtools].#
0090: 20 75 73 65 73 68 65 6c 6c 20 79 65 73 0a 23 20 useshell yes.#
00a0: 23 23 20 6c 61 75 6e 63 68 65 72 20 6c 61 75 6e ## launcher laun
00b0: 63 68 65 73 20 6a 6f 62 73 2c 20 74 68 65 20 6a ches jobs, the j
00c0: 6f 62 20 69 73 20 6d 61 6e 61 67 65 64 20 6f 6e ob is managed on
00d0: 20 74 68 65 20 74 61 72 67 65 74 20 68 6f 73 74 the target host
00e0: 0a 23 23 20 62 79 20 6d 65 67 61 74 65 73 74 2c .## by megatest,
00f0: 20 63 6f 6d 6d 65 6e 74 20 6f 75 74 20 6c 61 75 comment out lau
0100: 6e 63 68 65 72 20 74 6f 20 72 75 6e 20 6c 6f 63 ncher to run loc
0110: 61 6c 0a 23 20 77 6f 72 6b 68 6f 73 74 73 20 6c al.# workhosts l
0120: 6f 63 61 6c 68 6f 73 74 20 68 65 72 6d 65 73 0a ocalhost hermes.
0130: 6c 61 75 6e 63 68 65 72 20 6e 62 66 61 6b 65 0a launcher nbfake.
0140: 23 20 6c 61 75 6e 63 68 65 72 20 6e 6f 64 61 6e # launcher nodan
0150: 67 67 6f 6f 64 0a 0a 23 23 20 75 73 65 20 22 78 ggood..## use "x
0160: 74 65 72 6d 20 2d 65 20 63 73 69 20 2d 2d 20 22 term -e csi -- "
0170: 20 61 73 20 61 20 6c 61 75 6e 63 68 65 72 20 74 as a launcher t
0180: 6f 20 65 78 61 6d 69 6e 65 20 74 68 65 20 6c 61 o examine the la
0190: 75 6e 63 68 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 unch environment
01a0: 2e 0a 23 23 20 65 78 69 74 20 77 69 74 68 20 28 ..## exit with (
01b0: 65 78 69 74 29 0a 23 23 20 67 65 74 20 61 20 73 exit).## get a s
01c0: 68 65 6c 6c 20 77 69 74 68 20 28 73 79 73 74 65 hell with (syste
01d0: 6d 20 22 62 61 73 68 22 29 0a 23 20 6c 61 75 6e m "bash").# laun
01e0: 63 68 65 72 20 78 74 65 72 6d 20 2d 65 20 63 73 cher xterm -e cs
01f0: 69 20 2d 2d 0a 0a 5b 76 61 6c 69 64 76 61 6c 75 i --..[validvalu
0200: 65 73 5d 0a 73 74 61 74 65 20 73 74 61 72 74 20 es].state start
0210: 65 6e 64 20 63 6f 6d 70 6c 65 74 65 64 20 30 0a end completed 0.
0220: 73 74 61 74 75 73 20 70 61 73 73 20 66 61 69 6c status pass fail
0230: 20 6e 2f 61 20 30 20 31 0a 0a 23 20 54 68 65 73 n/a 0 1..# Thes
0240: 65 20 61 72 65 20 73 65 74 20 62 65 66 6f 72 65 e are set before
0250: 20 61 6c 6c 20 74 65 73 74 73 2c 20 6f 76 65 72 all tests, over
0260: 72 69 64 65 20 74 68 65 6d 20 0a 23 20 69 6e 20 ride them .# in
0270: 74 68 65 20 74 65 73 74 63 6f 6e 66 69 67 20 5b the testconfig [
0280: 70 72 65 2d 6c 61 75 6e 63 68 2d 65 6e 76 2d 6f pre-launch-env-o
0290: 76 65 72 72 69 64 65 73 5d 20 73 65 63 74 69 6f verrides] sectio
02a0: 6e 0a 5b 65 6e 76 2d 6f 76 65 72 72 69 64 65 5d n.[env-override]
02b0: 0a 53 50 45 43 49 41 4c 5f 45 4e 56 5f 56 41 52 .SPECIAL_ENV_VAR
02c0: 53 20 6f 76 65 72 69 64 65 20 74 68 65 6d 20 68 S overide them h
02d0: 65 72 65 20 2d 20 73 68 6f 75 6c 64 20 62 65 20 ere - should be
02e0: 73 65 65 6e 20 61 74 20 6c 61 75 6e 63 68 20 61 seen at launch a
02f0: 6e 64 20 69 6e 20 74 68 65 20 72 75 6e 73 0a 54 nd in the runs.T
0300: 45 53 54 56 41 52 20 5b 73 79 73 74 65 6d 20 72 ESTVAR [system r
0310: 65 61 6c 70 61 74 68 20 2e 5d 0a 44 45 41 44 56 ealpath .].DEADV
0320: 41 52 20 5b 73 79 73 74 65 6d 20 6c 73 5d 0a 56 AR [system ls].V
0330: 41 52 57 49 54 48 44 4f 4c 4c 41 52 20 24 48 4f ARWITHDOLLAR $HO
0340: 4d 45 2f 2e 7a 73 68 72 63 0a 0a 23 20 58 54 45 ME/.zshrc..# XTE
0350: 52 4d 20 20 20 5b 73 79 73 74 65 6d 20 78 74 65 RM [system xte
0360: 72 6d 5d 0a 23 20 52 55 4e 44 45 41 44 20 5b 73 rm].# RUNDEAD [s
0370: 79 73 74 65 6d 20 65 78 69 74 20 35 36 5d 0a 0a ystem exit 56]..
0380: 23 23 20 64 69 73 6b 73 20 61 72 65 3a 0a 23 23 ## disks are:.##
0390: 20 6e 61 6d 65 20 68 6f 73 74 3a 2f 70 61 74 68 name host:/path
03a0: 2f 74 6f 2f 61 72 65 61 0a 23 23 20 2d 6f 72 2d /to/area.## -or-
03b0: 0a 23 23 20 6e 61 6d 65 20 2f 70 61 74 68 2f 74 .## name /path/t
03c0: 6f 2f 61 72 65 61 0a 5b 64 69 73 6b 73 5d 0a 31 o/area.[disks].1
03d0: 20 2f 74 6d 70 0a /tmp.