Megatest

Hex Artifact Content
Login

Artifact 509a06d02e6d0d3b3e7b88e2862c6a9b66f2ee45:


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 0a 73 6c 65 65 70 20 32 30 0a 6d 65 67 61 74  a.sleep 20.megat
0050: 65 73 74 20 2d 73 74 65 70 20 77 61 73 74 69 6e  est -step wastin
0060: 67 5f 74 69 6d 65 20 3a 73 74 61 74 65 20 65 6e  g_time :state en
0070: 64 20 3a 73 74 61 74 75 73 20 24 3f 0a 0a 6d 65  d :status $?..me
0080: 67 61 74 65 73 74 20 2d 74 65 73 74 2d 73 74 61  gatest -test-sta
0090: 74 75 73 20 3a 73 74 61 74 65 20 43 4f 4d 50 4c  tus :state COMPL
00a0: 45 54 45 44 20 3a 73 74 61 74 75 73 20 50 41 53  ETED :status PAS
00b0: 53 20 2d 73 65 74 6c 6f 67 20 74 68 65 6c 6f 67  S -setlog thelog
00c0: 66 69 6c 65 2e 6c 6f 67 0a                       file.log.