From 8d5f30434e161fa65b6bb0476dd56deffcba3bd1 Mon Sep 17 00:00:00 2001 From: secher Date: Fri, 11 Jan 2008 14:50:33 +0000 Subject: [PATCH] debug of batch cases --- bin/waitNS.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/waitNS.sh diff --git a/bin/waitNS.sh b/bin/waitNS.sh new file mode 100755 index 000000000..35f1bc780 --- /dev/null +++ b/bin/waitNS.sh @@ -0,0 +1,11 @@ +#! /bin/sh +status=1 +while [ $status -ne 0 ]; do + ls $HOME/$APPLI/.omniORB_last.cfg >& /dev/null + status=$? + sleep 1 + echo -n "#" +done +portNumber=`grep InitRef $HOME/$APPLI/.omniORB_last.cfg | grep -v grep | awk 'BEGIN{FS=":"}{print $NF}'` +ps -efw | grep $USER | grep omniNames | grep -v grep | grep $portNumber +./runSession waitNS.py \ No newline at end of file -- 2.39.2