Artifact 73a7d8a9dba01e3a9fead680130c284378c3e063:
- File tests/tests/ezlog_warn/lookithome.logpro — part of check-in [5868dd5b31] at 2011-11-03 22:59:04 on branch trunk — Added test placeholders (user: matt size: 458)
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 28 65 78 70 65 63 74 3a 72 65 ....;;(expect:re 0060: 71 75 69 72 65 64 20 69 6e 20 22 4c 6f 67 46 69 quired in "LogFi 0070: 6c 65 42 6f 64 79 22 20 3e 20 30 20 22 4d 75 73 leBody" > 0 "Mus 0080: 74 20 62 65 20 73 6f 6d 65 20 66 69 6c 65 73 20 t be some files 0090: 69 6e 20 74 68 65 20 64 69 72 22 20 23 2f 2e 2a in the dir" #/.* 00a0: 2f 29 0a 0a 28 65 78 70 65 63 74 3a 69 67 6e 6f /)..(expect:igno 00b0: 72 65 20 20 20 69 6e 20 22 4c 6f 67 46 69 6c 65 re in "LogFile 00c0: 42 6f 64 79 22 20 20 3c 20 39 39 20 22 49 67 6e Body" < 99 "Ign 00d0: 6f 72 65 20 74 68 65 20 77 6f 72 64 20 65 72 72 ore the word err 00e0: 6f 72 20 69 6e 20 63 6f 6d 6d 65 6e 74 73 22 20 or in comments" 00f0: 23 2f 5e 5c 2f 5c 2f 2e 2a 65 72 72 6f 72 2f 29 #/^\/\/.*error/) 0100: 0a 3b 3b 20 46 6f 72 63 65 20 61 20 77 61 72 6e .;; Force a warn 0110: 20 66 6f 72 20 74 68 69 73 20 74 65 73 74 0a 28 for this test.( 0120: 65 78 70 65 63 74 3a 77 61 72 6e 69 6e 67 20 20 expect:warning 0130: 69 6e 20 22 4c 6f 67 46 69 6c 65 42 6f 64 79 22 in "LogFileBody" 0140: 20 20 3d 20 30 20 22 41 6e 79 20 77 61 72 6e 69 = 0 "Any warni 0150: 6e 67 22 20 23 2f 2e 2a 2f 29 0a 28 65 78 70 65 ng" #/.*/).(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.