Megatest

Hex Artifact Content
Login

Artifact 09d60e16104ff257b6ed944356b56f9c0c31844f:


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 77 61 72 6e 69 6e  t.(expect:warnin
0080: 67 20 20 69 6e 20 22 4c 6f 67 46 69 6c 65 42 6f  g  in "LogFileBo
0090: 64 79 22 20 20 3d 20 30 20 22 41 6e 79 20 77 61  dy"  = 0 "Any wa
00a0: 72 6e 69 6e 67 22 20 23 2f 2e 2a 2f 29 0a 28 65  rning" #/.*/).(e
00b0: 78 70 65 63 74 3a 72 65 71 75 69 72 65 64 20 69  xpect:required i
00c0: 6e 20 22 4c 6f 67 46 69 6c 65 42 6f 64 79 22 20  n "LogFileBody" 
00d0: 3e 20 30 20 22 4d 75 73 74 20 62 65 20 73 6f 6d  > 0 "Must be som
00e0: 65 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 64  e files in the d
00f0: 69 72 22 20 23 2f 2e 2a 2f 29 0a 0a 28 65 78 70  ir" #/.*/)..(exp
0100: 65 63 74 3a 69 67 6e 6f 72 65 20 20 20 69 6e 20  ect:ignore   in 
0110: 22 4c 6f 67 46 69 6c 65 42 6f 64 79 22 20 20 3c  "LogFileBody"  <
0120: 20 39 39 20 22 49 67 6e 6f 72 65 20 74 68 65 20   99 "Ignore the 
0130: 77 6f 72 64 20 65 72 72 6f 72 20 69 6e 20 63 6f  word error in co
0140: 6d 6d 65 6e 74 73 22 20 23 2f 5e 5c 2f 5c 2f 2e  mments" #/^\/\/.
0150: 2a 65 72 72 6f 72 2f 29 0a 28 65 78 70 65 63 74  *error/).(expect
0160: 3a 65 72 72 6f 72 20 20 20 20 69 6e 20 22 4c 6f  :error    in "Lo
0170: 67 46 69 6c 65 42 6f 64 79 22 20 20 3d 20 30 20  gFileBody"  = 0 
0180: 22 41 6e 79 20 65 72 72 6f 72 22 20 20 28 6c 69  "Any error"  (li
0190: 73 74 20 23 2f 45 52 52 4f 52 2f 20 23 2f 65 72  st #/ERROR/ #/er
01a0: 72 6f 72 2f 29 29 20 3b 3b 20 62 75 74 20 64 69  ror/)) ;; but di
01b0: 73 61 6c 6c 6f 77 20 61 6e 79 20 6f 74 68 65 72  sallow any other
01c0: 20 65 72 72 6f 72 73 0a                           errors.