Artifact
ebf5fa9c1f531d9a1a6e06413a88c1ad6118e94d:
0000: 23 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 70 # This file is p
0010: 61 72 74 20 6f 66 20 4d 65 67 61 74 65 73 74 2e art of Megatest.
0020: 0a 23 20 0a 23 20 20 20 20 20 4d 65 67 61 74 65 .# .# Megate
0030: 73 74 20 69 73 20 66 72 65 65 20 73 6f 66 74 77 st is free softw
0040: 61 72 65 3a 20 79 6f 75 20 63 61 6e 20 72 65 64 are: you can red
0050: 69 73 74 72 69 62 75 74 65 20 69 74 20 61 6e 64 istribute it and
0060: 2f 6f 72 20 6d 6f 64 69 66 79 0a 23 20 20 20 20 /or modify.#
0070: 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 65 it under the te
0080: 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 47 rms of the GNU G
0090: 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 eneral Public Li
00a0: 63 65 6e 73 65 20 61 73 20 70 75 62 6c 69 73 68 cense as publish
00b0: 65 64 20 62 79 0a 23 20 20 20 20 20 74 68 65 20 ed by.# the
00c0: 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f Free Software Fo
00d0: 75 6e 64 61 74 69 6f 6e 2c 20 65 69 74 68 65 72 undation, either
00e0: 20 76 65 72 73 69 6f 6e 20 33 20 6f 66 20 74 68 version 3 of th
00f0: 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 0a 23 20 e License, or.#
0100: 20 20 20 20 28 61 74 20 79 6f 75 72 20 6f 70 74 (at your opt
0110: 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 ion) any later v
0120: 65 72 73 69 6f 6e 2e 0a 23 20 0a 23 20 20 20 20 ersion..# .#
0130: 20 4d 65 67 61 74 65 73 74 20 69 73 20 64 69 73 Megatest is dis
0140: 74 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 tributed in the
0150: 68 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c hope that it wil
0160: 6c 20 62 65 20 75 73 65 66 75 6c 2c 0a 23 20 20 l be useful,.#
0170: 20 20 20 62 75 74 20 57 49 54 48 4f 55 54 20 41 but WITHOUT A
0180: 4e 59 20 57 41 52 52 41 4e 54 59 3b 20 77 69 74 NY WARRANTY; wit
0190: 68 6f 75 74 20 65 76 65 6e 20 74 68 65 20 69 6d hout even the im
01a0: 70 6c 69 65 64 20 77 61 72 72 61 6e 74 79 20 6f plied warranty o
01b0: 66 0a 23 20 20 20 20 20 4d 45 52 43 48 41 4e 54 f.# MERCHANT
01c0: 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 ABILITY or FITNE
01d0: 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 SS FOR A PARTICU
01e0: 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 LAR PURPOSE. Se
01f0: 65 20 74 68 65 0a 23 20 20 20 20 20 47 4e 55 20 e the.# GNU
0200: 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 4c General Public L
0210: 69 63 65 6e 73 65 20 66 6f 72 20 6d 6f 72 65 20 icense for more
0220: 64 65 74 61 69 6c 73 2e 0a 23 20 0a 23 20 20 20 details..# .#
0230: 20 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 You should hav
0240: 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6f 70 e received a cop
0250: 79 20 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e y of the GNU Gen
0260: 65 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 eral Public Lice
0270: 6e 73 65 0a 23 20 20 20 20 20 61 6c 6f 6e 67 20 nse.# along
0280: 77 69 74 68 20 4d 65 67 61 74 65 73 74 2e 20 20 with Megatest.
0290: 49 66 20 6e 6f 74 2c 20 73 65 65 20 3c 68 74 74 If not, see <htt
02a0: 70 3a 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f p://www.gnu.org/
02b0: 6c 69 63 65 6e 73 65 73 2f 3e 2e 0a 0a 5b 66 69 licenses/>...[fi
02c0: 65 6c 64 73 5d 0a 73 79 73 6e 61 6d 65 20 54 45 elds].sysname TE
02d0: 58 54 0a 66 73 6e 61 6d 65 20 54 45 58 54 0a 64 XT.fsname TEXT.d
02e0: 61 74 61 70 61 74 68 20 54 45 58 54 0a 0a 5b 73 atapath TEXT..[s
02f0: 65 74 75 70 5d 0a 74 72 61 6e 73 70 6f 72 74 20 etup].transport
0300: 23 7b 73 63 68 65 6d 65 20 28 69 66 20 28 67 65 #{scheme (if (ge
0310: 74 65 6e 76 20 22 55 53 45 48 54 54 50 22 29 20 tenv "USEHTTP")
0320: 22 68 74 74 70 22 20 22 66 73 22 29 7d 0a 0a 6d "http" "fs")}..m
0330: 61 78 5f 63 6f 6e 63 75 72 72 65 6e 74 5f 6a 6f ax_concurrent_jo
0340: 62 73 20 35 30 0a 0a 23 20 49 74 20 69 73 20 70 bs 50..# It is p
0350: 6f 73 73 69 62 6c 65 20 28 62 75 74 20 6e 6f 74 ossible (but not
0360: 20 72 65 63 6f 6d 6d 65 6e 64 65 64 29 20 74 6f recommended) to
0370: 20 6f 76 65 72 72 69 64 65 20 74 68 65 20 72 73 override the rs
0380: 79 6e 63 20 63 6f 6d 6d 61 6e 64 20 75 73 65 64 ync command used
0390: 0a 23 20 74 6f 20 70 6f 70 75 6c 61 74 65 20 74 .# to populate t
03a0: 68 65 20 74 65 73 74 20 64 69 72 65 63 74 6f 72 he test director
03b0: 69 65 73 2e 20 46 6f 72 20 74 65 73 74 20 64 65 ies. For test de
03c0: 76 65 6c 6f 70 6d 65 6e 74 20 74 68 65 20 66 6f velopment the fo
03d0: 6c 6c 6f 77 69 6e 67 20 0a 23 20 65 78 61 6d 70 llowing .# examp
03e0: 6c 65 20 63 61 6e 20 62 65 20 75 73 65 66 75 6c le can be useful
03f0: 0a 23 0a 74 65 73 74 63 6f 70 79 63 6d 64 20 63 .#.testcopycmd c
0400: 70 20 2d 2d 72 65 6d 6f 76 65 2d 64 65 73 74 69 p --remove-desti
0410: 6e 61 74 69 6f 6e 20 2d 72 73 76 20 54 45 53 54 nation -rsv TEST
0420: 5f 53 52 43 5f 50 41 54 48 2f 2e 20 54 45 53 54 _SRC_PATH/. TEST
0430: 5f 54 41 52 47 5f 50 41 54 48 2f 2e 20 3e 3e 20 _TARG_PATH/. >>
0440: 54 45 53 54 5f 54 41 52 47 5f 50 41 54 48 2f 6d TEST_TARG_PATH/m
0450: 74 5f 6c 61 75 6e 63 68 2e 6c 6f 67 20 32 3e 3e t_launch.log 2>>
0460: 20 54 45 53 54 5f 54 41 52 47 5f 50 41 54 48 2f TEST_TARG_PATH/
0470: 6d 74 5f 6c 61 75 6e 63 68 2e 6c 6f 67 0a 0a 23 mt_launch.log..#
0480: 20 46 55 4c 4c 20 6f 72 20 32 2c 20 4e 4f 52 4d FULL or 2, NORM
0490: 41 4c 20 6f 72 20 31 2c 20 4f 46 46 20 6f 72 20 AL or 1, OFF or
04a0: 30 0a 73 79 6e 63 68 72 6f 6e 6f 75 73 20 4f 46 0.synchronous OF
04b0: 46 0a 0a 23 20 6f 76 65 72 72 69 64 65 20 74 68 F..# override th
04c0: 65 20 6c 6f 67 76 69 65 77 20 63 6f 6d 6d 61 6e e logview comman
04d0: 64 0a 23 0a 6c 6f 67 76 69 65 77 65 72 20 28 25 d.#.logviewer (%
04e0: 4d 54 43 4d 44 25 29 20 32 3e 20 2f 64 65 76 2f MTCMD%) 2> /dev/
04f0: 6e 75 6c 6c 20 3e 20 2f 64 65 76 2f 6e 75 6c 6c null > /dev/null
0500: 0a 0a 23 20 6f 76 65 72 72 69 64 65 20 74 68 65 ..# override the
0510: 20 68 74 6d 6c 20 76 69 65 77 65 72 20 6c 61 75 html viewer lau
0520: 6e 63 68 20 63 6f 6d 6d 61 6e 64 0a 23 0a 23 20 nch command.#.#
0530: 68 74 6d 6c 76 69 65 77 65 72 63 6d 64 20 66 69 htmlviewercmd fi
0540: 72 65 66 6f 78 20 2d 6e 65 77 2d 77 69 6e 64 6f refox -new-windo
0550: 77 20 0a 68 74 6d 6c 76 69 65 77 65 72 63 6d 64 w .htmlviewercmd
0560: 20 6b 6f 6e 71 75 65 72 6f 72 0a 0a 5b 6a 6f 62 konqueror..[job
0570: 74 6f 6f 6c 73 5d 0a 6c 61 75 6e 63 68 65 72 20 tools].launcher
0580: 6e 62 66 61 6b 65 0a 0a 5b 73 65 72 76 65 72 5d nbfake..[server]
0590: 0a 0a 23 20 49 66 20 74 68 65 20 73 65 72 76 65 ..# If the serve
05a0: 72 20 63 61 6e 27 74 20 62 65 20 73 74 61 72 74 r can't be start
05b0: 65 64 20 6f 6e 20 74 68 69 73 20 70 6f 72 74 20 ed on this port
05c0: 69 74 20 77 69 6c 6c 20 74 72 79 20 74 68 65 20 it will try the
05d0: 6e 65 78 74 20 70 6f 72 74 20 75 6e 74 69 6c 0a next port until.
05e0: 23 20 69 74 20 73 75 63 63 65 65 64 73 0a 70 6f # it succeeds.po
05f0: 72 74 20 38 30 38 30 0a 0a 23 20 54 68 69 73 20 rt 8080..# This
0600: 73 65 72 76 65 72 20 77 69 6c 6c 20 6b 65 65 70 server will keep
0610: 20 72 75 6e 6e 69 6e 67 20 74 68 69 73 20 6e 75 running this nu
0620: 6d 62 65 72 20 6f 66 20 68 6f 75 72 73 20 61 66 mber of hours af
0630: 74 65 72 20 6c 61 73 74 20 61 63 63 65 73 73 2e ter last access.
0640: 20 0a 23 20 54 68 72 65 65 20 6d 69 6e 75 74 65 .# Three minute
0650: 73 20 69 73 20 30 2e 30 35 20 68 6f 75 72 73 0a s is 0.05 hours.
0660: 74 69 6d 65 6f 75 74 20 30 2e 30 32 35 0a 0a 23 timeout 0.025..#
0670: 23 20 64 69 73 6b 73 20 61 72 65 3a 0a 23 23 20 # disks are:.##
0680: 6e 61 6d 65 20 68 6f 73 74 3a 2f 70 61 74 68 2f name host:/path/
0690: 74 6f 2f 61 72 65 61 0a 23 23 20 2d 6f 72 2d 0a to/area.## -or-.
06a0: 23 23 20 6e 61 6d 65 20 2f 70 61 74 68 2f 74 6f ## name /path/to
06b0: 2f 61 72 65 61 0a 5b 64 69 73 6b 73 5d 0a 64 69 /area.[disks].di
06c0: 73 6b 30 20 23 7b 67 65 74 65 6e 76 20 4d 54 5f sk0 #{getenv MT_
06d0: 52 55 4e 5f 41 52 45 41 5f 48 4f 4d 45 7d 2f 74 RUN_AREA_HOME}/t
06e0: 6d 70 5f 72 75 6e 0a 0a mp_run..