Artifact c43fd19ef0fbd9d49459ebb4fec665b6873df3e9:
- Executable file tests/fullrun/lineitem_pass/main.sh — part of check-in [e06ef7ae11] at 2012-04-21 23:36:51 on branch extend-test-get-path — Moved the full run test suite to fullrun (user: matt size: 914)
- Executable file tests/fullrun/tests/lineitem_pass/main.sh — part of check-in [423f168820] at 2012-04-22 00:03:24 on branch extend-test-get-path — Arduously moved tests to the tests dir (user: matt size: 914)
- Executable file tests/tests/lineitem_pass/main.sh — part of check-in [7996cd995c] at 2012-02-26 16:29:44 on branch trunk — Added some time-taking steps to a test (user: matt size: 914)
0000: 23 21 2f 62 69 6e 2f 62 61 73 68 0a 0a 23 20 63 #!/bin/bash..# c 0010: 61 74 65 67 6f 72 79 20 76 61 72 69 61 62 6c 65 ategory variable 0020: 20 76 61 6c 75 65 20 65 78 70 65 63 74 65 64 20 value expected 0030: 20 74 6f 6c 2f 63 6f 6d 70 20 75 6e 69 74 73 20 tol/comp units 0040: 63 6f 6d 6d 65 6e 74 0a 24 4d 54 5f 4d 45 47 41 comment.$MT_MEGA 0050: 54 45 53 54 20 2d 6c 6f 61 64 2d 74 65 73 74 2d TEST -load-test- 0060: 64 61 74 61 20 3c 3c 20 45 4f 46 0a 66 6f 6f 2c data << EOF.foo, 0070: 20 20 20 20 20 20 20 62 61 72 2c 20 20 20 20 20 bar, 0080: 31 2e 39 2c 20 20 31 2e 38 2c 20 20 20 20 20 20 1.9, 1.8, 0090: 3e 0a 66 6f 6f 2c 20 20 20 20 20 20 20 72 61 62 >.foo, rab 00a0: 2c 20 20 20 31 2e 30 65 39 2c 20 20 32 65 39 2c , 1.0e9, 2e9, 00b0: 20 20 20 20 20 20 31 65 39 0a 66 6f 6f 2c 20 20 1e9.foo, 00c0: 20 20 20 20 20 62 6c 61 2c 20 20 20 20 20 31 2e bla, 1. 00d0: 32 2c 20 20 31 2e 39 2c 20 20 20 20 20 20 3c 0a 2, 1.9, <. 00e0: 66 6f 6f 2c 20 20 20 20 20 20 20 62 61 6c 2c 20 foo, bal, 00f0: 20 20 20 2d 31 2e 31 2c 20 20 20 20 30 2c 20 20 -1.1, 0, 0100: 20 20 20 20 3c 20 20 20 2c 20 20 20 20 20 20 20 < , 0110: 20 20 2c 20 43 68 65 63 6b 20 66 6f 72 20 6f 76 , Check for ov 0120: 65 72 6c 6f 61 64 0a 66 6f 6f 2c 20 20 20 20 20 erload.foo, 0130: 20 20 61 6c 62 2c 20 20 20 20 20 31 2e 32 2c 20 alb, 1.2, 0140: 20 31 2e 32 2c 20 20 20 20 20 20 3c 3d 20 20 2c 1.2, <= , 0150: 20 20 20 20 20 41 6d 70 73 2c 20 54 68 69 73 20 Amps, This 0160: 69 73 20 74 68 65 20 68 69 67 68 20 70 6f 77 65 is the high powe 0170: 72 20 63 69 72 63 75 69 74 20 74 65 73 74 0a 66 r circuit test.f 0180: 6f 6f 2c 20 20 20 20 20 20 20 61 62 6c 2c 20 20 oo, abl, 0190: 20 20 20 31 2e 32 2c 20 20 31 2e 33 2c 20 20 20 1.2, 1.3, 01a0: 20 20 20 30 2e 31 0a 66 6f 6f 2c 20 20 20 20 20 0.1.foo, 01b0: 20 20 62 72 61 2c 20 20 20 20 20 31 2e 32 2c 20 bra, 1.2, 01c0: 70 61 73 73 2c 20 20 20 20 20 20 73 69 6c 6c 79 pass, silly 01d0: 20 73 74 75 66 66 0a 66 61 7a 2c 20 20 20 20 20 stuff.faz, 01e0: 20 20 62 61 72 2c 20 20 20 20 20 20 31 30 2c 20 bar, 10, 01f0: 20 38 6d 41 2c 20 20 20 20 20 20 20 20 20 20 2c 8mA, , 0200: 20 20 20 20 20 20 20 20 20 2c 22 74 68 69 73 20 ,"this 0210: 69 73 20 61 20 63 6f 6d 6d 65 6e 74 22 0a 45 4f is a comment".EO 0220: 46 0a 0a 23 20 61 20 62 75 6e 63 68 20 6f 66 20 F..# a bunch of 0230: 73 74 65 70 73 20 69 6e 20 32 20 73 65 63 6f 6e steps in 2 secon 0240: 64 20 69 6e 63 72 65 6d 65 6e 74 73 0a 66 6f 72 d increments.for 0250: 20 69 20 69 6e 20 31 20 32 20 33 20 34 20 35 20 i in 1 2 3 4 5 0260: 36 20 37 20 38 20 39 20 31 30 20 31 31 20 31 32 6 7 8 9 10 11 12 0270: 20 31 33 20 31 34 20 31 35 20 31 36 20 31 37 3b 13 14 15 16 17; 0280: 64 6f 0a 20 20 24 4d 54 5f 4d 45 47 41 54 45 53 do. $MT_MEGATES 0290: 54 20 2d 73 74 65 70 20 73 74 65 70 24 69 20 3a T -step step$i : 02a0: 73 74 61 74 65 20 73 74 61 72 74 20 3a 73 74 61 state start :sta 02b0: 74 75 73 20 72 75 6e 6e 69 6e 67 20 2d 73 65 74 tus running -set 02c0: 6c 6f 67 20 72 65 73 75 6c 74 73 24 69 2e 68 74 log results$i.ht 02d0: 6d 6c 0a 20 20 73 6c 65 65 70 20 32 0a 20 20 24 ml. sleep 2. $ 02e0: 4d 54 5f 4d 45 47 41 54 45 53 54 20 2d 73 74 65 MT_MEGATEST -ste 02f0: 70 20 73 74 65 70 24 69 20 3a 73 74 61 74 65 20 p step$i :state 0300: 65 6e 64 20 3a 73 74 61 74 75 73 20 30 0a 64 6f end :status 0.do 0310: 6e 65 0a 23 20 4e 65 65 64 65 64 20 74 6f 20 66 ne.# Needed to f 0320: 6f 72 63 65 20 72 6f 6c 6c 69 6e 67 20 75 70 20 orce rolling up 0330: 74 68 65 20 72 65 73 75 6c 74 73 20 61 6e 64 20 the results and 0340: 73 65 74 20 74 68 65 20 74 65 73 74 20 74 6f 20 set the test to 0350: 43 4f 4d 50 4c 45 54 45 44 0a 24 4d 54 5f 4d 45 COMPLETED.$MT_ME 0360: 47 41 54 45 53 54 20 2d 74 65 73 74 2d 73 74 61 GATEST -test-sta 0370: 74 75 73 20 3a 73 74 61 74 65 20 43 4f 4d 50 4c tus :state COMPL 0380: 45 54 45 44 20 3a 73 74 61 74 75 73 20 41 55 54 ETED :status AUT 0390: 4f 0a O.