-
Notifications
You must be signed in to change notification settings - Fork 494
/
Copy pathgenrun
executable file
·45 lines (44 loc) · 1.1 KB
/
genrun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
EXAMPLES=`dirname $0`/../examples
DIRS="$EXAMPLES/ospfv2/areas
$EXAMPLES/ospfv2/backbone
$EXAMPLES/ospfv2/fulltest
$EXAMPLES/ospfv2/simpletest
$EXAMPLES/wireless/handover
$EXAMPLES/wireless/throughput
$EXAMPLES/wireless/hosttohost
$EXAMPLES/wireless/lan80211
$EXAMPLES/rtp/data
$EXAMPLES/rtp/multicast2
$EXAMPLES/rtp/multicast1
$EXAMPLES/rtp/unicast
$EXAMPLES/inet/flatnet
$EXAMPLES/inet/multicast
$EXAMPLES/inet/kidsnw1
$EXAMPLES/inet/bulktransfer
$EXAMPLES/inet/routerperf
$EXAMPLES/inet/nclients
$EXAMPLES/inet/redtest
$EXAMPLES/ethernet/arptest2
$EXAMPLES/ethernet/lans
$EXAMPLES/ethernet/arptest
$EXAMPLES/adhoc/mf80211
$EXAMPLES/adhoc/mobility
$EXAMPLES/adhoc/ieee80211
$EXAMPLES/mpls/testte_tunnel
$EXAMPLES/mpls/ldp
$EXAMPLES/mpls/net37
$EXAMPLES/mpls/testte_routing
$EXAMPLES/mpls/testte_failure
$EXAMPLES/mpls/testte_failure2
$EXAMPLES/mpls/testte_reroute
$EXAMPLES/ipv6/nclients
$EXAMPLES/ipv6/demonetworketh"
for i in $DIRS; do
echo $i
echo '#!/bin/sh' >$i/run
echo '../../../src/run_inet "$@"' >>$i/run
chmod +x $i/run
svn add $i/run
echo '..\..\..\src\run_inet %*' >$i/run.cmd
svn add $i/run.cmd
done