Megatest

Hex Artifact Content
Login

Artifact b6ac44a0c40cf82337158ec5c1801c2d24e263f5:


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 77 61 73 74  atest -step wast
0020: 69 6e 67 5f 74 69 6d 65 20 3a 73 74 61 74 65 20  ing_time :state 
0030: 73 74 61 72 74 20 3a 73 74 61 74 75 73 20 6e 2f  start :status n/
0040: 61 20 2d 6d 20 22 54 68 69 73 20 69 73 20 61 20  a -m "This is a 
0050: 74 65 73 74 20 73 74 65 70 20 63 6f 6d 6d 65 6e  test step commen
0060: 74 22 0a 73 6c 65 65 70 20 32 30 0a 6d 65 67 61  t".sleep 20.mega
0070: 74 65 73 74 20 2d 73 74 65 70 20 77 61 73 74 69  test -step wasti
0080: 6e 67 5f 74 69 6d 65 20 3a 73 74 61 74 65 20 65  ng_time :state e
0090: 6e 64 20 3a 73 74 61 74 75 73 20 24 3f 0a 0a 6d  nd :status $?..m
00a0: 65 67 61 74 65 73 74 20 2d 74 65 73 74 2d 73 74  egatest -test-st
00b0: 61 74 75 73 20 3a 73 74 61 74 65 20 43 4f 4d 50  atus :state COMP
00c0: 4c 45 54 45 44 20 3a 73 74 61 74 75 73 20 50 41  LETED :status PA
00d0: 53 53 20 2d 73 65 74 6c 6f 67 20 74 68 65 6c 6f  SS -setlog thelo
00e0: 67 66 69 6c 65 2e 6c 6f 67 20 2d 6d 20 22 54 68  gfile.log -m "Th
00f0: 69 73 20 69 73 20 61 20 74 65 73 74 20 6c 65 76  is is a test lev
0100: 65 6c 20 63 6f 6d 6d 65 6e 74 22 0a              el comment".