Artifact
1d01bbbbd5a8a4c94f2a06a6936dda78a76f30e4:
0000: 3b 3b 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 ;; You should ha
0010: 76 65 20 61 74 20 6c 65 61 73 74 20 6f 6e 65 20 ve at least one
0020: 65 78 70 65 63 74 3a 72 65 71 75 69 72 65 64 2e expect:required.
0030: 20 54 68 69 73 20 65 6e 73 75 72 65 73 20 74 68 This ensures th
0040: 61 74 20 79 6f 75 72 20 70 72 6f 63 65 73 73 20 at your process
0050: 72 61 6e 0a 28 65 78 70 65 63 74 3a 72 65 71 75 ran.(expect:requ
0060: 69 72 65 64 20 69 6e 20 22 4c 6f 67 46 69 6c 65 ired in "LogFile
0070: 42 6f 64 79 22 20 3e 20 30 20 22 4c 65 61 76 69 Body" > 0 "Leavi
0080: 6e 67 20 64 69 72 65 63 74 6f 72 79 22 20 23 2f ng directory" #/
0090: 28 4c 65 61 76 69 6e 67 20 64 69 72 65 63 74 6f (Leaving directo
00a0: 72 79 7c 4e 6f 74 68 69 6e 67 20 74 6f 20 62 65 ry|Nothing to be
00b0: 20 64 6f 6e 65 20 66 6f 72 7c 63 72 65 61 74 69 done for|creati
00c0: 6e 67 20 73 71 6c 69 74 65 33 29 2f 29 0a 0a 3b ng sqlite3)/)..;
00d0: 3b 20 59 6f 75 20 6d 61 79 20 6e 65 65 64 20 69 ; You may need i
00e0: 67 6e 6f 72 65 73 20 74 6f 20 73 75 70 70 72 65 gnores to suppre
00f0: 73 73 20 66 61 6c 73 65 20 65 72 72 6f 72 20 6f ss false error o
0100: 72 20 77 61 72 6e 69 6e 67 20 68 69 74 73 20 66 r warning hits f
0110: 72 6f 6d 20 74 68 65 20 6c 61 74 65 72 20 65 78 rom the later ex
0120: 70 65 63 74 73 0a 3b 3b 20 4e 4f 54 45 3a 20 4f pects.;; NOTE: O
0130: 72 64 65 72 20 69 73 20 69 6d 70 6f 72 74 61 6e rder is importan
0140: 74 20 68 65 72 65 21 0a 28 65 78 70 65 63 74 3a t here!.(expect:
0150: 69 67 6e 6f 72 65 20 20 20 69 6e 20 22 4c 6f 67 ignore in "Log
0160: 46 69 6c 65 42 6f 64 79 22 20 20 3e 3d 20 30 20 FileBody" >= 0
0170: 22 49 67 6e 6f 72 65 20 73 74 72 65 72 72 6f 72 "Ignore strerror
0180: 5f 72 22 20 23 2f 73 74 72 65 72 72 6f 72 5f 72 _r" #/strerror_r
0190: 2f 69 29 0a 28 65 78 70 65 63 74 3a 69 67 6e 6f /i).(expect:igno
01a0: 72 65 20 20 20 69 6e 20 22 4c 6f 67 46 69 6c 65 re in "LogFile
01b0: 42 6f 64 79 22 20 20 3c 20 39 39 20 22 49 67 6e Body" < 99 "Ign
01c0: 6f 72 65 20 74 68 65 20 77 6f 72 64 20 65 72 72 ore the word err
01d0: 6f 72 20 69 6e 20 63 6f 6d 6d 65 6e 74 73 22 20 or in comments"
01e0: 23 2f 5e 5c 2f 5c 2f 2e 2a 65 72 72 6f 72 2f 29 #/^\/\/.*error/)
01f0: 0a 28 65 78 70 65 63 74 3a 77 61 72 6e 69 6e 67 .(expect:warning
0200: 20 20 69 6e 20 22 4c 6f 67 46 69 6c 65 42 6f 64 in "LogFileBod
0210: 79 22 20 20 3d 20 30 20 22 41 6e 79 20 77 61 72 y" = 0 "Any war
0220: 6e 69 6e 67 22 20 23 2f 77 61 72 6e 2f 29 0a 28 ning" #/warn/).(
0230: 65 78 70 65 63 74 3a 65 72 72 6f 72 20 20 20 20 expect:error
0240: 69 6e 20 22 4c 6f 67 46 69 6c 65 42 6f 64 79 22 in "LogFileBody"
0250: 20 20 3d 20 30 20 22 41 6e 79 20 65 72 72 6f 72 = 0 "Any error
0260: 22 20 20 28 6c 69 73 74 20 23 2f 45 52 52 4f 52 " (list #/ERROR
0270: 2f 20 23 2f 65 72 72 6f 72 2f 69 29 29 20 3b 3b / #/error/i)) ;;
0280: 20 62 75 74 20 64 69 73 61 6c 6c 6f 77 20 61 6e but disallow an
0290: 79 20 6f 74 68 65 72 20 65 72 72 6f 72 73 0a y other errors.