Megatest

Hex Artifact Content
Login

Artifact 601765abe8c766ef607979addf9c6444674c01d0:


0000: 5b 73 65 74 75 70 5d 0a 0a 5b 65 7a 73 74 65 70  [setup]..[ezstep
0010: 73 5d 0a 6c 6f 6f 6b 69 74 74 6d 70 20 20 20 6c  s].lookittmp   l
0020: 73 20 2f 74 6d 70 0a 6c 6f 6f 6b 69 74 68 6f 6d  s /tmp.lookithom
0030: 65 20 20 6c 73 20 2f 68 6f 6d 65 0a 23 20 24 43  e  ls /home.# $C
0040: 55 52 52 45 4e 54 20 73 68 6f 75 6c 64 20 62 65  URRENT should be
0050: 20 2f 74 6d 70 2f 6e 61 64 61 0a 63 75 72 72 65   /tmp/nada.curre
0060: 6e 74 69 73 62 6c 61 68 20 63 75 72 72 65 6e 74  ntisblah current
0070: 69 73 62 6c 61 68 2e 73 68 0a 0a 23 20 24 42 4f  isblah.sh..# $BO
0080: 47 4f 55 53 20 73 68 6f 75 6c 64 20 4e 4f 54 20  GOUS should NOT 
0090: 62 65 20 73 65 74 0a 62 6f 67 6f 75 73 6e 6f 74  be set.bogousnot
00a0: 73 65 74 20 62 6f 67 6f 75 73 6e 6f 74 73 65 74  set bogousnotset
00b0: 2e 73 68 0a 0a 23 20 41 4c 54 5f 56 41 52 20 73  .sh..# ALT_VAR s
00c0: 68 6f 75 6c 64 20 4e 4f 54 20 62 65 20 73 65 74  hould NOT be set
00d0: 0a 61 6c 74 76 61 72 6e 6f 74 73 65 74 20 61 6c  .altvarnotset al
00e0: 74 76 61 72 6e 6f 74 73 65 74 2e 73 68 0a 0a 5b  tvarnotset.sh..[
00f0: 72 65 71 75 69 72 65 6d 65 6e 74 73 5d 0a 77 61  requirements].wa
0100: 69 74 6f 6e 20 72 75 6e 66 69 72 73 74 0a 70 72  iton runfirst.pr
0110: 69 6f 72 69 74 79 20 30 0a 0a 5b 69 74 65 6d 73  iority 0..[items
0120: 5d 0a 4e 55 4d 4e 55 4d 20 5b 73 79 73 74 65 6d  ].NUMNUM [system
0130: 20 63 61 74 20 24 4d 54 5f 52 55 4e 5f 41 52 45   cat $MT_RUN_ARE
0140: 41 5f 48 4f 4d 45 2f 74 6d 70 2f 24 55 53 45 52  A_HOME/tmp/$USER
0150: 2f 24 73 79 73 6e 61 6d 65 2f 24 66 73 6e 61 6d  /$sysname/$fsnam
0160: 65 2f 24 64 61 74 61 70 61 74 68 2f 24 4d 54 5f  e/$datapath/$MT_
0170: 52 55 4e 4e 41 4d 45 2f 24 50 52 45 44 49 43 54  RUNNAME/$PREDICT
0180: 41 42 4c 45 5d 0a 0a 5b 74 65 73 74 5f 6d 65 74  ABLE]..[test_met
0190: 61 5d 0a 61 75 74 68 6f 72 20 6d 61 74 74 0a 6f  a].author matt.o
01a0: 77 6e 65 72 20 20 62 6f 62 0a 64 65 73 63 72 69  wner  bob.descri
01b0: 70 74 69 6f 6e 20 54 68 69 73 20 74 65 73 74 20  ption This test 
01c0: 72 75 6e 73 20 61 20 73 69 6e 67 6c 65 20 65 7a  runs a single ez
01d0: 73 74 65 70 20 77 68 69 63 68 20 69 73 20 65 78  step which is ex
01e0: 70 65 63 74 65 64 20 74 6f 20 70 61 73 73 2c 20  pected to pass, 
01f0: 6e 6f 20 6c 6f 67 70 72 6f 20 66 69 6c 65 2e 0a  no logpro file..
0200: 0a 74 61 67 73 20 66 69 72 73 74 2c 73 69 6e 67  .tags first,sing
0210: 6c 65 0a 72 65 76 69 65 77 65 64 20 30 39 2f 31  le.reviewed 09/1
0220: 30 2f 32 30 31 31 2c 20 62 79 20 4d 61 74 74 0a  0/2011, by Matt.