Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let it work on solaris (test -e does not exist there, but test -x does)
[simgrid.git] / examples / ping / test_sg
index 8034fc8..15bc8ea 100755 (executable)
@@ -1,4 +1,5 @@
 #! /bin/sh
-test -e ./ping_simulator || exit 77
-exec ./ping_simulator ../WAN_3.platform.txt ping_deployment
-
+if test -x ./ping_simulator ; then
+  exec ./ping_simulator ../WAN_3.platform.txt ping_deployment.txt
+fi
+exit 77