Megatest

Hex Artifact Content
Login

Artifact db2c27ffef9692e1ae0b076a6a7a73ad67f37ade:


0000: 23 20 20 43 6f 70 79 72 69 67 68 74 20 32 30 30  #  Copyright 200
0010: 36 2d 32 30 31 37 2c 20 4d 61 74 74 68 65 77 20  6-2017, Matthew 
0020: 57 65 6c 6c 61 6e 64 2e 0a 23 20 0a 23 20 54 68  Welland..# .# Th
0030: 69 73 20 66 69 6c 65 20 69 73 20 70 61 72 74 20  is file is part 
0040: 6f 66 20 4d 65 67 61 74 65 73 74 2e 0a 23 20 0a  of Megatest..# .
0050: 23 20 20 20 20 20 4d 65 67 61 74 65 73 74 20 69  #     Megatest i
0060: 73 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 3a  s free software:
0070: 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72   you can redistr
0080: 69 62 75 74 65 20 69 74 20 61 6e 64 2f 6f 72 20  ibute it and/or 
0090: 6d 6f 64 69 66 79 0a 23 20 20 20 20 20 69 74 20  modify.#     it 
00a0: 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20  under the terms 
00b0: 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72  of the GNU Gener
00c0: 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73  al Public Licens
00d0: 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62  e as published b
00e0: 79 0a 23 20 20 20 20 20 74 68 65 20 46 72 65 65  y.#     the Free
00f0: 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61   Software Founda
0100: 74 69 6f 6e 2c 20 65 69 74 68 65 72 20 76 65 72  tion, either ver
0110: 73 69 6f 6e 20 33 20 6f 66 20 74 68 65 20 4c 69  sion 3 of the Li
0120: 63 65 6e 73 65 2c 20 6f 72 0a 23 20 20 20 20 20  cense, or.#     
0130: 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29  (at your option)
0140: 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69   any later versi
0150: 6f 6e 2e 0a 23 20 0a 23 20 20 20 20 20 4d 65 67  on..# .#     Meg
0160: 61 74 65 73 74 20 69 73 20 64 69 73 74 72 69 62  atest is distrib
0170: 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65  uted in the hope
0180: 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65   that it will be
0190: 20 75 73 65 66 75 6c 2c 0a 23 20 20 20 20 20 62   useful,.#     b
01a0: 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57  ut WITHOUT ANY W
01b0: 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74  ARRANTY; without
01c0: 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65   even the implie
01d0: 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 23 20  d warranty of.# 
01e0: 20 20 20 20 4d 45 52 43 48 41 4e 54 41 42 49 4c      MERCHANTABIL
01f0: 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46  ITY or FITNESS F
0200: 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20  OR A PARTICULAR 
0210: 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68  PURPOSE.  See th
0220: 65 0a 23 20 20 20 20 20 47 4e 55 20 47 65 6e 65  e.#     GNU Gene
0230: 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e  ral Public Licen
0240: 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61  se for more deta
0250: 69 6c 73 2e 0a 23 20 0a 23 20 20 20 20 20 59 6f  ils..# .#     Yo
0260: 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 72 65  u should have re
0270: 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66  ceived a copy of
0280: 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c   the GNU General
0290: 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 0a   Public License.
02a0: 23 20 20 20 20 20 61 6c 6f 6e 67 20 77 69 74 68  #     along with
02b0: 20 4d 65 67 61 74 65 73 74 2e 20 20 49 66 20 6e   Megatest.  If n
02c0: 6f 74 2c 20 73 65 65 20 3c 68 74 74 70 3a 2f 2f  ot, see <http://
02d0: 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69 63 65  www.gnu.org/lice
02e0: 6e 73 65 73 2f 3e 2e 0a 0a 23 20 41 64 64 20 61  nses/>...# Add a
02f0: 64 64 69 74 69 6f 6e 61 6c 20 73 74 65 70 73 20  dditional steps 
0300: 68 65 72 65 2e 20 46 6f 72 6d 61 74 20 69 73 20  here. Format is 
0310: 22 73 74 65 70 6e 61 6d 65 20 73 63 72 69 70 74  "stepname script
0320: 22 0a 5b 65 7a 73 74 65 70 73 5d 0a 73 74 65 70  ".[ezsteps].step
0330: 31 20 73 74 65 70 31 2e 73 68 0a 73 74 65 70 32  1 step1.sh.step2
0340: 20 73 74 65 70 32 2e 73 68 0a 0a 23 20 54 65 73   step2.sh..# Tes
0350: 74 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 61  t requirements a
0360: 72 65 20 73 70 65 63 69 66 69 65 64 20 68 65 72  re specified her
0370: 65 0a 5b 72 65 71 75 69 72 65 6d 65 6e 74 73 5d  e.[requirements]
0380: 0a 23 20 77 61 69 74 6f 6e 20 73 65 74 75 70 0a  .# waiton setup.
0390: 70 72 69 6f 72 69 74 79 20 30 0a 0a 23 20 49 74  priority 0..# It
03a0: 65 72 61 74 69 6f 6e 20 66 6f 72 20 79 6f 75 72  eration for your
03b0: 20 74 65 73 74 73 20 61 72 65 20 63 6f 6e 74 72   tests are contr
03c0: 6f 6c 6c 65 64 20 62 79 20 74 68 65 20 69 74 65  olled by the ite
03d0: 6d 73 20 73 65 63 74 69 6f 6e 0a 5b 69 74 65 6d  ms section.[item
03e0: 73 5d 0a 23 20 50 41 52 54 4f 46 44 41 59 20 6d  s].# PARTOFDAY m
03f0: 6f 72 6e 69 6e 67 20 6e 6f 6f 6e 20 61 66 74 65  orning noon afte
0400: 72 6e 6f 6f 6e 20 65 76 65 6e 69 6e 67 20 6e 69  rnoon evening ni
0410: 67 68 74 0a 0a 23 20 74 65 73 74 5f 6d 65 74 61  ght..# test_meta
0420: 20 69 73 20 61 20 73 65 63 74 69 6f 6e 20 66 6f   is a section fo
0430: 72 20 73 74 6f 72 69 6e 67 20 61 64 64 69 74 69  r storing additi
0440: 6f 6e 61 6c 20 64 61 74 61 20 6f 6e 20 79 6f 75  onal data on you
0450: 72 20 74 65 73 74 0a 5b 74 65 73 74 5f 6d 65 74  r test.[test_met
0460: 61 5d 0a 61 75 74 68 6f 72 20 6d 61 74 74 0a 6f  a].author matt.o
0470: 77 6e 65 72 20 20 6d 61 74 74 0a 64 65 73 63 72  wner  matt.descr
0480: 69 70 74 69 6f 6e 20 41 6e 20 65 78 61 6d 70 6c  iption An exampl
0490: 65 20 74 65 73 74 0a 74 61 67 73 20 74 61 67 6f  e test.tags tago
04a0: 6e 65 2c 74 61 67 74 77 6f 0a 72 65 76 69 65 77  ne,tagtwo.review
04b0: 65 64 20 6e 65 76 65 72 0a                       ed never.