Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | #!/bin/sh |
2 | ||
3 | ############################################################################### | |
4 | # Copyright (c) 2000-2014 Ericsson Telecom AB | |
5 | # All rights reserved. This program and the accompanying materials | |
6 | # are made available under the terms of the Eclipse Public License v1.0 | |
7 | # which accompanies this distribution, and is available at | |
8 | # http://www.eclipse.org/legal/epl-v10.html | |
9 | ############################################################################### | |
10 | ||
11 | ||
12 | # hide next line from expect \ | |
13 | if [ "xy" != "x`expect -c 'puts "y"'`" ]; then | |
14 | # hide next line from expect \ | |
15 | echo "$0 requires 'expect'. Please install 'expect' and make sure it is in the PATH."; | |
16 | # hide next line from expect \ | |
17 | exit 1 | |
18 | # hide next line from expect \ | |
19 | fi | |
20 | ||
21 | ||
22 | ||
23 | ||
24 | # the next line restarts using expect \ | |
25 | exec expect "$0" "$@" | |
26 | ||
27 | ##################################################### | |
28 | ## ## | |
29 | ## EXPECT script to automate TTCN-3 testing ## | |
30 | ## ## |