Megatest

Hex Artifact Content
Login

Artifact b2a6575abfd9002bde69dd0b40b0fa13a087f363:


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 3b 3b 20 46 6f 72 63 65 20 61 20 77  ....;; Force a w
0060: 61 72 6e 20 66 6f 72 20 74 68 69 73 20 74 65 73  arn for this tes
0070: 74 0a 28 65 78 70 65 63 74 3a 72 65 71 75 69 72  t.(expect:requir
0080: 65 64 20 69 6e 20 22 4c 6f 67 46 69 6c 65 42 6f  ed in "LogFileBo
0090: 64 79 22 20 3e 20 30 20 22 4d 75 73 74 20 62 65  dy" > 0 "Must be
00a0: 20 73 6f 6d 65 20 66 69 6c 65 73 20 69 6e 20 74   some files in t
00b0: 68 65 20 64 69 72 22 20 23 2f 2e 2a 2f 29 0a 0a  he dir" #/.*/)..
00c0: 28 65 78 70 65 63 74 3a 69 67 6e 6f 72 65 20 20  (expect:ignore  
00d0: 20 69 6e 20 22 4c 6f 67 46 69 6c 65 42 6f 64 79   in "LogFileBody
00e0: 22 20 20 3c 20 39 39 20 22 49 67 6e 6f 72 65 20  "  < 99 "Ignore 
00f0: 74 68 65 20 77 6f 72 64 20 65 72 72 6f 72 20 69  the word error i
0100: 6e 20 63 6f 6d 6d 65 6e 74 73 22 20 23 2f 5e 5c  n comments" #/^\
0110: 2f 5c 2f 2e 2a 65 72 72 6f 72 2f 29 0a 28 65 78  /\/.*error/).(ex
0120: 70 65 63 74 3a 77 61 72 6e 69 6e 67 20 20 69 6e  pect:warning  in
0130: 20 22 4c 6f 67 46 69 6c 65 42 6f 64 79 22 20 20   "LogFileBody"  
0140: 3d 20 30 20 22 41 6e 79 20 77 61 72 6e 69 6e 67  = 0 "Any warning
0150: 22 20 23 2f 77 61 72 6e 2f 29 0a 28 65 78 70 65  " #/warn/).(expe
0160: 63 74 3a 65 72 72 6f 72 20 20 20 20 69 6e 20 22  ct:error    in "
0170: 4c 6f 67 46 69 6c 65 42 6f 64 79 22 20 20 3d 20  LogFileBody"  = 
0180: 30 20 22 41 6e 79 20 65 72 72 6f 72 22 20 20 28  0 "Any error"  (
0190: 6c 69 73 74 20 23 2f 45 52 52 4f 52 2f 20 23 2f  list #/ERROR/ #/
01a0: 65 72 72 6f 72 2f 29 29 20 3b 3b 20 62 75 74 20  error/)) ;; but 
01b0: 64 69 73 61 6c 6c 6f 77 20 61 6e 79 20 6f 74 68  disallow any oth
01c0: 65 72 20 65 72 72 6f 72 73 0a                    er errors.