Megatest

Hex Artifact Content
Login

Artifact fd6c1c1d59d66f0b286bde645b0258fa425b9bab:


0000: 23 21 2f 62 69 6e 2f 62 61 73 68 0a 0a 6d 65 67  #!/bin/bash..meg
0010: 61 74 65 73 74 20 2d 73 74 65 70 20 79 65 70 73  atest -step yeps
0020: 74 65 70 20 3a 73 74 61 74 65 20 73 74 61 72 74  tep :state start
0030: 20 3a 73 74 61 74 75 73 20 6e 2f 61 0a 6c 73 20   :status n/a.ls 
0040: 2f 74 6d 70 0a 6d 65 67 61 74 65 73 74 20 2d 73  /tmp.megatest -s
0050: 74 65 70 20 79 65 70 73 74 65 70 20 3a 73 74 61  tep yepstep :sta
0060: 74 65 20 65 6e 64 20 3a 73 74 61 74 75 73 20 24  te end :status $
0070: 3f 0a 0a 6d 65 67 61 74 65 73 74 20 2d 6c 6f 61  ?..megatest -loa
0080: 64 2d 74 65 73 74 2d 64 61 74 61 20 3c 3c 20 45  d-test-data << E
0090: 4f 46 0a 4f 50 45 52 2c 64 75 2c 20 20 20 31 2e  OF.OPER,du,   1.
00a0: 32 2c 20 20 31 2e 32 2c 20 3c 20 20 20 2c 20 47  2,  1.2, <   , G
00b0: 42 79 74 65 73 20 20 2c 53 79 73 74 65 6d 20 64  Bytes  ,System d
00c0: 69 64 6e 27 74 20 75 73 65 20 74 6f 6f 20 6d 75  idn't use too mu
00d0: 63 68 20 73 70 61 63 65 0a 45 4f 46 0a 0a 6d 65  ch space.EOF..me
00e0: 67 61 74 65 73 74 20 2d 74 65 73 74 2d 73 74 61  gatest -test-sta
00f0: 74 75 73 20 3a 73 74 61 74 65 20 43 4f 4d 50 4c  tus :state COMPL
0100: 45 54 45 44 20 3a 73 74 61 74 75 73 20 41 55 54  ETED :status AUT
0110: 4f 0a                                            O.