Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Test if SG was compiled in a way that even solaris understand (hopefully)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Jul 2004 06:14:02 +0000 (06:14 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Jul 2004 06:14:02 +0000 (06:14 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@229 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/ping/test_sg

index 8034fc8..2348b43 100755 (executable)
@@ -1,4 +1,5 @@
 #! /bin/sh
 #! /bin/sh
-test -e ./ping_simulator || exit 77
-exec ./ping_simulator ../WAN_3.platform.txt ping_deployment
-
+if test -e ./ping_simulator ; then
+  exec ./ping_simulator ../WAN_3.platform.txt ping_deployment
+fi
+exit 77