Artifact de48b1c9d6f4bdc5c09b4fa9ee677cb3b46c9339:
- Executable file tests/fullrun/manual_example/runsetupxterm.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: 462)
- Executable file tests/fullrun/tests/manual_example/runsetupxterm.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: 462)
- Executable file tests/tests/manual_example/runsetupxterm.sh — part of check-in [a8bb833bf1] at 2011-10-30 21:48:41 on branch trunk — Example run for manual execution of tests (user: matt size: 462)
0000: 23 21 2f 62 69 6e 2f 62 61 73 68 0a 0a 69 66 20 #!/bin/bash..if 0010: 5b 5b 20 24 54 41 52 47 45 54 44 49 53 50 4c 41 [[ $TARGETDISPLA 0020: 59 20 3d 20 22 22 20 7c 7c 20 24 54 41 52 47 45 Y = "" || $TARGE 0030: 54 48 4f 53 54 20 3d 20 22 22 20 7c 7c 20 24 54 THOST = "" || $T 0040: 41 52 47 45 54 44 49 52 20 3d 20 22 22 20 7c 7c ARGETDIR = "" || 0050: 20 24 54 41 52 47 45 54 55 53 45 52 20 3d 20 22 $TARGETUSER = " 0060: 22 20 5d 5d 3b 20 74 68 65 6e 0a 20 20 20 20 6d " ]]; then. m 0070: 73 67 3d 22 59 6f 75 20 6d 75 73 74 20 73 65 74 sg="You must set 0080: 20 74 68 65 20 54 41 52 47 45 54 44 49 53 50 4c the TARGETDISPL 0090: 41 59 2c 20 54 41 52 47 45 54 48 4f 53 54 2c 20 AY, TARGETHOST, 00a0: 54 41 52 47 45 54 44 49 52 20 61 6e 64 20 54 41 TARGETDIR and TA 00b0: 52 47 45 54 55 53 45 52 20 76 61 72 69 61 62 6c RGETUSER variabl 00c0: 65 73 20 66 6f 72 20 6d 61 6e 75 61 6c 20 74 65 es for manual te 00d0: 73 74 73 22 0a 20 20 20 20 65 63 68 6f 20 24 6d sts". echo $m 00e0: 73 67 0a 20 20 20 20 6d 65 67 61 74 65 73 74 20 sg. megatest 00f0: 2d 74 65 73 74 2d 73 74 61 74 75 73 20 3a 73 74 -test-status :st 0100: 61 74 65 20 43 4f 4d 50 4c 45 54 45 44 20 3a 73 ate COMPLETED :s 0110: 74 61 74 75 73 20 46 41 49 4c 20 2d 6d 20 24 6d tatus FAIL -m $m 0120: 73 67 0a 20 20 20 20 65 78 69 74 20 31 0a 65 6c sg. exit 1.el 0130: 73 65 0a 20 20 20 20 6d 65 67 61 74 65 73 74 20 se. megatest 0140: 2d 73 74 65 70 20 73 65 74 75 70 20 3a 73 74 61 -step setup :sta 0150: 74 65 20 73 74 61 72 74 20 3a 73 74 61 74 75 73 te start :status 0160: 20 6e 2f 61 0a 20 20 20 20 78 74 65 72 6d 20 2d n/a. xterm - 0170: 64 69 73 70 6c 61 79 20 24 54 41 52 47 45 54 44 display $TARGETD 0180: 49 53 50 4c 41 59 20 2d 65 20 2e 2f 73 65 74 75 ISPLAY -e ./setu 0190: 70 72 65 6d 6f 74 65 2e 73 68 0a 20 20 20 20 6d premote.sh. m 01a0: 65 67 61 74 65 73 74 20 2d 73 74 65 70 20 73 65 egatest -step se 01b0: 74 75 70 20 3a 73 74 61 74 65 20 65 6e 64 20 3a tup :state end : 01c0: 73 74 61 74 75 73 20 24 3f 0a 66 69 0a 0a status $?.fi..