Megatest

Hex Artifact Content
Login

Artifact 5323023529b0d316b919fed1e61407f2196591d4:


0000: 3b 3b 20 28 63 29 20 32 30 30 36 2c 32 30 30 37  ;; (c) 2006,2007
0010: 2c 32 30 30 38 2c 32 30 30 39 20 4d 61 74 74 68  ,2008,2009 Matth
0020: 65 77 20 57 65 6c 6c 61 6e 64 20 6d 61 74 74 40  ew Welland matt@
0030: 6b 69 61 74 6f 61 2e 63 6f 6d 0a 3b 3b 20 20 0a  kiatoa.com.;;  .
0040: 3b 3b 20 20 20 4c 69 63 65 6e 73 65 20 47 50 4c  ;;   License GPL
0050: 2e 0a 0a 0a 28 65 78 70 65 63 74 3a 77 61 72 6e  ....(expect:warn
0060: 69 6e 67 20 20 69 6e 20 22 4c 6f 67 46 69 6c 65  ing  in "LogFile
0070: 42 6f 64 79 22 20 20 3d 20 30 20 22 41 6e 79 20  Body"  = 0 "Any 
0080: 77 61 72 6e 69 6e 67 22 20 23 2f 2e 2a 2f 29 0a  warning" #/.*/).
0090: 3b 3b 20 43 61 6e 27 74 20 68 61 76 65 20 61 20  ;; Can't have a 
00a0: 72 65 71 75 69 72 65 64 20 73 69 6e 63 65 20 69  required since i
00b0: 74 20 77 69 6c 6c 20 6d 61 73 6b 20 74 68 65 20  t will mask the 
00c0: 77 61 72 6e 73 21 20 43 6f 75 6c 64 20 6d 61 6b  warns! Could mak
00d0: 65 20 74 68 65 20 77 61 72 6e 20 6e 6f 6e 2d 6f  e the warn non-o
00e0: 76 65 72 6c 61 70 70 69 6e 67 20 77 69 74 68 20  verlapping with 
00f0: 74 68 65 0a 3b 3b 20 72 65 71 75 69 72 65 64 20  the.;; required 
0100: 49 20 73 75 70 70 6f 73 65 2e 2e 2e 0a 3b 3b 20  I suppose....;; 
0110: 28 65 78 70 65 63 74 3a 72 65 71 75 69 72 65 64  (expect:required
0120: 20 69 6e 20 22 4c 6f 67 46 69 6c 65 42 6f 64 79   in "LogFileBody
0130: 22 20 3e 20 30 20 22 4d 75 73 74 20 62 65 20 73  " > 0 "Must be s
0140: 6f 6d 65 20 66 69 6c 65 73 20 69 6e 20 74 68 65  ome files in the
0150: 20 64 69 72 22 20 23 2f 2e 2a 2f 29 0a 0a 28 65   dir" #/.*/)..(e
0160: 78 70 65 63 74 3a 69 67 6e 6f 72 65 20 20 20 69  xpect:ignore   i
0170: 6e 20 22 4c 6f 67 46 69 6c 65 42 6f 64 79 22 20  n "LogFileBody" 
0180: 20 3c 20 39 39 20 22 49 67 6e 6f 72 65 20 74 68   < 99 "Ignore th
0190: 65 20 77 6f 72 64 20 65 72 72 6f 72 20 69 6e 20  e word error in 
01a0: 63 6f 6d 6d 65 6e 74 73 22 20 23 2f 5e 5c 2f 5c  comments" #/^\/\
01b0: 2f 2e 2a 65 72 72 6f 72 2f 29 0a 28 65 78 70 65  /.*error/).(expe
01c0: 63 74 3a 65 72 72 6f 72 20 20 20 20 69 6e 20 22  ct:error    in "
01d0: 4c 6f 67 46 69 6c 65 42 6f 64 79 22 20 20 3d 20  LogFileBody"  = 
01e0: 30 20 22 41 6e 79 20 65 72 72 6f 72 22 20 20 28  0 "Any error"  (
01f0: 6c 69 73 74 20 23 2f 45 52 52 4f 52 2f 20 23 2f  list #/ERROR/ #/
0200: 65 72 72 6f 72 2f 29 29 20 3b 3b 20 62 75 74 20  error/)) ;; but 
0210: 64 69 73 61 6c 6c 6f 77 20 61 6e 79 20 6f 74 68  disallow any oth
0220: 65 72 20 65 72 72 6f 72 73 0a                    er errors.