X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ef31c793f419af21bc43a6169b1264d7c6610069..990b4c331449051f8476377ac6e67a02f639be5a:/testsuite/gras/trp_tcp_usage.in diff --git a/testsuite/gras/trp_tcp_usage.in b/testsuite/gras/trp_tcp_usage.in index 99f2a279d3..089c427dc7 100644 --- a/testsuite/gras/trp_tcp_usage.in +++ b/testsuite/gras/trp_tcp_usage.in @@ -1,12 +1,18 @@ #! @BASH@ -e -if test -e gras/trp_tcp_server ; then +if test -e gras/trp_tcp_server@EXEEXT@ ; then base=gras else base=. fi -$base/trp_tcp_server $@ & +if [ x@EXEEXT@ = x ] ; then + wine= +else + wine=wine +fi + +$wine $base/trp_tcp_server@EXEEXT@ $@ & sleep 1 -$base/trp_tcp_client $@ +$wine $base/trp_tcp_client@EXEEXT@ $@